diff --git a/.nojekyll b/.nojekyll
new file mode 100644
index 00000000..e69de29b
diff --git a/catalog.json b/catalog.json
new file mode 100644
index 00000000..fb667998
--- /dev/null
+++ b/catalog.json
@@ -0,0 +1 @@
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.8.5", "generated_at": "2024-08-13T21:26:04.369200Z", "invocation_id": "7acd4e94-8d2f-4261-b197-0931428af2be", "env": {}}, "nodes": {"model.synthetix.fct_core_account_delegation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_account_delegation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_rewards_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet"}, "model.synthetix.fct_core_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_market_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_mainnet"}, "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_collateral_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"}, "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pool_delegation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"}, "model.synthetix.fct_core_pools_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_core_pools_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_arbitrum_mainnet"}, "model.synthetix.fct_pool_debt_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_debt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_mainnet"}, "model.synthetix.fct_pool_issuance_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_mainnet"}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_issuance_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"}, "model.synthetix.fct_prices_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "character varying", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_arbitrum_mainnet"}, "model.synthetix.fct_prices_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet"}, "model.synthetix.fct_spot_atomics_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_atomics_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet"}, "model.synthetix.fct_spot_markets_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_markets_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet"}, "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_wrapper_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet"}, "model.synthetix.fct_synth_supply_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_synth_supply_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_arbitrum_sepolia"}, "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_rewards_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"}, "model.synthetix.fct_buyback_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "snx_price": {"type": "numeric", "index": 6, "name": "snx_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_base_mainnet"}, "model.synthetix.fct_buyback_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet"}, "model.synthetix.fct_buyback_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet"}, "model.synthetix.fct_core_account_delegation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_account_delegation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 5, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet"}, "model.synthetix.fct_core_apr_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_apr_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_base_mainnet"}, "model.synthetix.fct_core_apr_rewards_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_apr_rewards_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet"}, "model.synthetix.fct_core_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_base_mainnet"}, "model.synthetix.fct_core_pool_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pool_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_base_mainnet"}, "model.synthetix.fct_core_pool_delegation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pool_delegation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_base_mainnet"}, "model.synthetix.fct_core_pools_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_pools_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_base_mainnet"}, "model.synthetix.fct_core_vault_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_vault_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_vault_collateral_base_mainnet"}, "model.synthetix.fct_perp_account_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "fees": {"type": "numeric", "index": 3, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 4, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 5, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 6, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 7, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 8, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_account_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_account_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "fees": {"type": "numeric", "index": 4, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 5, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 6, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 7, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 8, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 9, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_accounts_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_accounts_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_accounts_base_mainnet"}, "model.synthetix.fct_perp_collateral_modified_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_collateral_modified_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_mainnet"}, "model.synthetix.fct_perp_interest_charged_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_interest_charged_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "interest": {"type": "numeric", "index": 8, "name": "interest", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_interest_charged_base_mainnet"}, "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "numeric", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_keeper_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "bigint", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_liq_account_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_liq_account_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "total_reward": {"type": "numeric", "index": 3, "name": "total_reward", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_account_base_mainnet"}, "model.synthetix.fct_perp_liq_position_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_liq_position_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "position_size": {"type": "numeric", "index": 9, "name": "position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_position_base_mainnet"}, "model.synthetix.fct_perp_market_history_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_history_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "funding_rate": {"type": "numeric", "index": 11, "name": "funding_rate", "comment": null}, "funding_velocity": {"type": "numeric", "index": 12, "name": "funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 13, "name": "interest_rate", "comment": null}, "funding_rate_apr": {"type": "numeric", "index": 14, "name": "funding_rate_apr", "comment": null}, "long_rate_apr": {"type": "numeric", "index": 15, "name": "long_rate_apr", "comment": null}, "short_rate_apr": {"type": "numeric", "index": 16, "name": "short_rate_apr", "comment": null}, "size_usd": {"type": "numeric", "index": 17, "name": "size_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 18, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 19, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 20, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 21, "name": "short_oi_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_history_base_mainnet"}, "model.synthetix.fct_perp_market_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_market_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_market_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_markets_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_markets_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 5, "name": "market_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_markets_base_mainnet"}, "model.synthetix.fct_perp_orders_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_orders_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "settlement_time": {"type": "numeric", "index": 12, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 13, "name": "expiration_time", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 15, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_orders_base_mainnet"}, "model.synthetix.fct_perp_pnl_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_pnl_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_id": {"type": "integer", "index": 2, "name": "market_id", "comment": null}, "market_pnl": {"type": "numeric", "index": 3, "name": "market_pnl", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_pnl_base_mainnet"}, "model.synthetix.fct_perp_previous_order_expired_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_previous_order_expired_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_mainnet"}, "model.synthetix.fct_perp_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "numeric", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "bigint", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "numeric", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet"}, "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_tracking_stats_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "bigint", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet"}, "model.synthetix.fct_perp_trades_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_perp_trades_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "pnl": {"type": "numeric", "index": 10, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 11, "name": "accrued_funding", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "position_size": {"type": "numeric", "index": 13, "name": "position_size", "comment": null}, "total_fees": {"type": "numeric", "index": 14, "name": "total_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 15, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 16, "name": "collected_fees", "comment": null}, "settlement_reward": {"type": "numeric", "index": 17, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 18, "name": "tracking_code", "comment": null}, "settler": {"type": "text", "index": 19, "name": "settler", "comment": null}, "notional_trade_size": {"type": "numeric", "index": 20, "name": "notional_trade_size", "comment": null}, "notional_position_size": {"type": "numeric", "index": 21, "name": "notional_position_size", "comment": null}, "lp_fees": {"type": "numeric", "index": 22, "name": "lp_fees", "comment": null}, "exchange_fees": {"type": "numeric", "index": 23, "name": "exchange_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_trades_base_mainnet"}, "model.synthetix.fct_pool_debt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_debt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_base_mainnet"}, "model.synthetix.fct_pool_issuance_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_base_mainnet"}, "model.synthetix.fct_pool_issuance_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_issuance_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_reward_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"}, "model.synthetix.fct_pool_rewards_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_base_mainnet"}, "model.synthetix.fct_pool_rewards_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_mainnet"}, "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_pool_rewards_token_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"}, "model.synthetix.fct_prices_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_prices_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "text", "index": 2, "name": "market_address", "comment": null}, "market_symbol": {"type": "text", "index": 3, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_base_mainnet"}, "model.synthetix.fct_prices_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_prices_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet"}, "model.synthetix.fct_spot_atomics_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_atomics_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet"}, "model.synthetix.fct_spot_markets_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_markets_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_base_mainnet"}, "model.synthetix.fct_spot_wrapper_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_wrapper_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet"}, "model.synthetix.fct_synth_supply_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_synth_supply_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_base_mainnet"}, "model.synthetix.fct_core_apr_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_apr_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 8, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 9, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 10, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 11, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 12, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 13, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 14, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 15, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 16, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 17, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 18, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 19, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 20, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 21, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 22, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 23, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 24, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 25, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 26, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 27, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 28, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 29, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 30, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_base_sepolia"}, "model.synthetix.fct_core_apr_rewards_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_apr_rewards_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_reward_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"}, "model.synthetix.blocks_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "blocks_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_arbitrum_mainnet"}, "model.synthetix.core_account_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_account_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet"}, "model.synthetix.core_delegation_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_delegation_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_mainnet"}, "model.synthetix.core_deposited_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_deposited_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_arbitrum_mainnet"}, "model.synthetix.core_liquidation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_liquidation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_arbitrum_mainnet"}, "model.synthetix.core_market_registered_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_registered_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_arbitrum_mainnet"}, "model.synthetix.core_market_updated_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_market_updated_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_arbitrum_mainnet"}, "model.synthetix.core_pool_created_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_pool_created_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet"}, "model.synthetix.core_rewards_claimed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_claimed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_mainnet"}, "model.synthetix.core_rewards_distributed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_distributed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "start": {"type": "numeric", "index": 6, "name": "start", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 12, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_mainnet"}, "model.synthetix.core_usd_burned_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_burned_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_arbitrum_mainnet"}, "model.synthetix.core_usd_minted_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_usd_minted_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_arbitrum_mainnet"}, "model.synthetix.core_vault_collateral_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "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": "BASE TABLE", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_debt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_arbitrum_mainnet"}, "model.synthetix.core_vault_liquidation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_liquidation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 2, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_mainnet"}, "model.synthetix.core_withdrawn_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_withdrawn_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_mainnet"}, "model.synthetix.spot_order_cancelled_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_cancelled_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_mainnet"}, "model.synthetix.spot_order_committed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_committed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 2, "name": "amount_provided", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 4, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_mainnet"}, "model.synthetix.spot_order_settled_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_order_settled_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 4, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 11, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 13, "name": "final_order_amount", "comment": null}, "async_order_id": {"type": "numeric", "index": 14, "name": "async_order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_arbitrum_mainnet"}, "model.synthetix.spot_synth_bought_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_bought_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 9, "name": "synth_returned", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_mainnet"}, "model.synthetix.spot_synth_registered_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_registered_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_mainnet"}, "model.synthetix.spot_synth_sold_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_sold_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_mainnet"}, "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_unwrapped_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 10, "name": "fees_collected", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"}, "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_wrapped_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet"}, "model.synthetix.blocks_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "blocks_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_arbitrum_sepolia"}, "model.synthetix.core_account_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_account_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_arbitrum_sepolia"}, "model.synthetix.core_delegation_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_delegation_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_arbitrum_sepolia"}, "model.synthetix.core_deposited_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_deposited_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_arbitrum_sepolia"}, "model.synthetix.core_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_arbitrum_sepolia"}, "model.synthetix.core_market_registered_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_registered_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_arbitrum_sepolia"}, "model.synthetix.core_market_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_market_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_arbitrum_sepolia"}, "model.synthetix.core_pool_created_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_pool_created_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_arbitrum_sepolia"}, "model.synthetix.core_rewards_claimed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_claimed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia"}, "model.synthetix.core_rewards_distributed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_distributed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 3, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia"}, "model.synthetix.core_usd_burned_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_burned_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia"}, "model.synthetix.core_usd_minted_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_minted_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia"}, "model.synthetix.core_vault_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 3, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 11, "name": "liquidation_data", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia"}, "model.synthetix.core_withdrawn_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_withdrawn_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia"}, "model.synthetix.spot_order_cancelled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_cancelled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 5, "name": "async_order_claim", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia"}, "model.synthetix.spot_order_committed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_committed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 4, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia"}, "model.synthetix.spot_order_settled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_settled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia"}, "model.synthetix.spot_synth_bought_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_bought_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia"}, "model.synthetix.spot_synth_registered_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_registered_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia"}, "model.synthetix.spot_synth_sold_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_sold_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 2, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia"}, "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_unwrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"}, "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_wrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 2, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 5, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia"}, "model.synthetix.blocks_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "blocks_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_mainnet"}, "model.synthetix.buyback_processed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "buyback_processed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_mainnet"}, "model.synthetix.core_account_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_account_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_mainnet"}, "model.synthetix.core_delegation_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_delegation_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 4, "name": "leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_mainnet"}, "model.synthetix.core_deposited_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_deposited_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_mainnet"}, "model.synthetix.core_liquidation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_liquidation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_mainnet"}, "model.synthetix.core_market_registered_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_registered_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_mainnet"}, "model.synthetix.core_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_mainnet"}, "model.synthetix.core_pool_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_pool_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_mainnet"}, "model.synthetix.core_rewards_claimed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_claimed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet"}, "model.synthetix.core_rewards_distributed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_distributed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet"}, "model.synthetix.core_usd_burned_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_burned_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_mainnet"}, "model.synthetix.core_usd_minted_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_minted_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_mainnet"}, "model.synthetix.core_vault_collateral_base_mainnet": {"metadata": {"type": "BASE TABLE", "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": "BASE TABLE", "schema": "prod_raw_base_mainnet", "name": "core_vault_debt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_base_mainnet"}, "model.synthetix.core_vault_liquidation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_vault_liquidation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_base_mainnet"}, "model.synthetix.core_withdrawn_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_withdrawn_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_base_mainnet"}, "model.synthetix.perp_account_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_account_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_created_base_mainnet"}, "model.synthetix.perp_account_liquidation_attempt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_account_liquidation_attempt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_mainnet"}, "model.synthetix.perp_collateral_modified_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_collateral_modified_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet"}, "model.synthetix.perp_interest_charged_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_interest_charged_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "interest": {"type": "numeric", "index": 3, "name": "interest", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_charged_base_mainnet"}, "model.synthetix.perp_interest_rate_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_interest_rate_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 4, "name": "interest_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 6, "name": "super_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_base_mainnet"}, "model.synthetix.perp_market_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_market_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 3, "name": "market_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "perps_market_id": {"type": "numeric", "index": 6, "name": "perps_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_base_mainnet"}, "model.synthetix.perp_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 12, "name": "current_funding_rate", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 13, "name": "current_funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 14, "name": "interest_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_updated_base_mainnet"}, "model.synthetix.perp_order_committed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_order_committed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 10, "name": "expiration_time", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 12, "name": "expected_price_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 13, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 16, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_committed_base_mainnet"}, "model.synthetix.perp_order_settled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_order_settled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "settlement_reward": {"type": "numeric", "index": 3, "name": "settlement_reward", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "total_fees": {"type": "numeric", "index": 6, "name": "total_fees", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "accrued_funding": {"type": "numeric", "index": 8, "name": "accrued_funding", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "referral_fees": {"type": "numeric", "index": 10, "name": "referral_fees", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "new_size": {"type": "numeric", "index": 15, "name": "new_size", "comment": null}, "pnl": {"type": "numeric", "index": 16, "name": "pnl", "comment": null}, "collected_fees": {"type": "numeric", "index": 17, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 19, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_settled_base_mainnet"}, "model.synthetix.perp_position_liquidated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_position_liquidated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 8, "name": "current_position_size", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_base_mainnet"}, "model.synthetix.perp_previous_order_expired_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "perp_previous_order_expired_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_previous_order_expired_base_mainnet"}, "model.synthetix.spot_order_cancelled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_cancelled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 9, "name": "async_order_claim", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_base_mainnet"}, "model.synthetix.spot_order_committed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_committed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_base_mainnet"}, "model.synthetix.spot_order_settled_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_order_settled_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 2, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_base_mainnet"}, "model.synthetix.spot_synth_bought_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_bought_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 12, "name": "synth_returned", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_base_mainnet"}, "model.synthetix.spot_synth_registered_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_registered_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_base_mainnet"}, "model.synthetix.spot_synth_sold_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_sold_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"referrer": {"type": "text", "index": 1, "name": "referrer", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_base_mainnet"}, "model.synthetix.spot_synth_unwrapped_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_unwrapped_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 6, "name": "amount_unwrapped", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_base_mainnet"}, "model.synthetix.spot_synth_wrapped_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "spot_synth_wrapped_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_wrapped": {"type": "numeric", "index": 1, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 6, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_base_mainnet"}, "model.synthetix.blocks_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "blocks_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_sepolia"}, "model.synthetix.buyback_processed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "buyback_processed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_sepolia"}, "model.synthetix.core_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_sepolia"}, "model.synthetix.core_delegation_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_delegation_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 5, "name": "leverage", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_sepolia"}, "model.synthetix.core_deposited_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_deposited_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_sepolia"}, "model.synthetix.core_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_sepolia"}, "model.synthetix.core_market_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_sepolia"}, "model.synthetix.core_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_sepolia"}, "model.synthetix.core_pool_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_pool_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_sepolia"}, "model.synthetix.core_rewards_claimed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_claimed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia"}, "model.synthetix.core_rewards_distributed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_distributed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"start": {"type": "numeric", "index": 1, "name": "start", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia"}, "model.synthetix.core_usd_burned_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_burned_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_sepolia"}, "model.synthetix.core_usd_minted_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_minted_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_sepolia"}, "model.synthetix.core_vault_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia"}, "model.synthetix.core_withdrawn_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_withdrawn_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_base_sepolia"}, "model.synthetix.perp_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_created_base_sepolia"}, "model.synthetix.perp_account_liquidation_attempt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_liquidation_attempt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia"}, "model.synthetix.perp_collateral_modified_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_collateral_modified_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia"}, "model.synthetix.perp_interest_charged_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_charged_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_charged_base_sepolia"}, "model.synthetix.perp_interest_rate_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_rate_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 2, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia"}, "model.synthetix.perp_market_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 8, "name": "market_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_base_sepolia"}, "model.synthetix.perp_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 12, "name": "current_funding_rate", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 13, "name": "current_funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 14, "name": "interest_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_updated_base_sepolia"}, "model.synthetix.perp_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 10, "name": "expiration_time", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 12, "name": "expected_price_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 13, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 16, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_committed_base_sepolia"}, "model.synthetix.perp_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 8, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "settler": {"type": "text", "index": 10, "name": "settler", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 12, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 13, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 17, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 18, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 19, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_settled_base_sepolia"}, "model.synthetix.perp_position_liquidated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_position_liquidated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 10, "name": "current_position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia"}, "model.synthetix.perp_previous_order_expired_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_previous_order_expired_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia"}, "model.synthetix.spot_order_cancelled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_cancelled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 7, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia"}, "model.synthetix.spot_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 12, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_base_sepolia"}, "model.synthetix.spot_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees": {"type": "jsonb", "index": 1, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 2, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 8, "name": "final_order_amount", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_base_sepolia"}, "model.synthetix.spot_synth_bought_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_bought_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_base_sepolia"}, "model.synthetix.spot_synth_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 8, "name": "synth_token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_base_sepolia"}, "model.synthetix.spot_synth_sold_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_sold_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_base_sepolia"}, "model.synthetix.spot_synth_unwrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_unwrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 5, "name": "amount_unwrapped", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia"}, "model.synthetix.spot_synth_wrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_wrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia"}, "seed.synthetix.arbitrum_mainnet_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_mainnet_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_mainnet_reward_distributors"}, "seed.synthetix.arbitrum_mainnet_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_mainnet_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_mainnet_tokens"}, "seed.synthetix.arbitrum_sepolia_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_sepolia_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "integer", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "integer", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors"}, "seed.synthetix.arbitrum_sepolia_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "arbitrum_sepolia_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.arbitrum_sepolia_tokens"}, "seed.synthetix.base_mainnet_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_mainnet_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "text", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_mainnet_reward_distributors"}, "seed.synthetix.base_mainnet_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_mainnet_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_mainnet_tokens"}, "seed.synthetix.base_sepolia_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_sepolia_reward_distributors", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"distributor_address": {"type": "integer", "index": 1, "name": "distributor_address", "comment": null}, "token_symbol": {"type": "integer", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_sepolia_reward_distributors"}, "seed.synthetix.base_sepolia_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "base_sepolia_tokens", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_address": {"type": "text", "index": 1, "name": "token_address", "comment": null}, "token_symbol": {"type": "text", "index": 2, "name": "token_symbol", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.synthetix.base_sepolia_tokens"}}, "sources": {"source.synthetix.raw_arbitrum_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"number": {"type": "integer", "index": 1, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 3, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.block"}, "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 7, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 12, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "token_amount": {"type": "numeric", "index": 14, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 2, "name": "deposited_collateral_value", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "reported_debt": {"type": "numeric", "index": 11, "name": "reported_debt", "comment": null}, "net_issuance": {"type": "numeric", "index": 12, "name": "net_issuance", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 12, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "market": {"type": "text", "index": 5, "name": "market", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "target": {"type": "text", "index": 13, "name": "target", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "start": {"type": "numeric", "index": 6, "name": "start", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 12, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 2, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 7, "name": "liquidate_as_account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 5, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 2, "name": "amount_provided", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 4, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 4, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "settler": {"type": "text", "index": 6, "name": "settler", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 11, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 12, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 13, "name": "final_order_amount", "comment": null}, "async_order_id": {"type": "numeric", "index": 14, "name": "async_order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "synth_returned": {"type": "numeric", "index": 9, "name": "synth_returned", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_token_address": {"type": "text", "index": 1, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 4, "name": "referrer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"synth_market_id": {"type": "numeric", "index": 1, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fees_collected": {"type": "numeric", "index": 10, "name": "fees_collected", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees_collected": {"type": "numeric", "index": 5, "name": "fees_collected", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_arbitrum_sepolia.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 2, "name": "timestamp", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.block"}, "source.synthetix.raw_arbitrum_sepolia.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral"}, "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 12, "name": "leverage", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 4, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 11, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "reported_debt": {"type": "numeric", "index": 14, "name": "reported_debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "reported_debt": {"type": "numeric", "index": 9, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "token_amount": {"type": "numeric", "index": 12, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target": {"type": "text", "index": 1, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 9, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 12, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target": {"type": "text", "index": 2, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 3, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 3, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 11, "name": "liquidation_data", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 5, "name": "async_order_claim", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 4, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 2, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 2, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 5, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_base_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "timestamp with time zone", "index": 1, "name": "timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.block"}, "source.synthetix.raw_base_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.blocks_parquet"}, "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "buyback_snx_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "snx": {"type": "numeric", "index": 3, "name": "snx", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "buyer": {"type": "text", "index": 8, "name": "buyer", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed"}, "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "buyback_snx_legacy_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "snx": {"type": "numeric", "index": 6, "name": "snx", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "usd": {"type": "numeric", "index": 8, "name": "usd", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed"}, "source.synthetix.raw_base_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_base_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_get_vault_debt"}, "source.synthetix.raw_base_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 4, "name": "leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_base_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"net_issuance": {"type": "numeric", "index": 1, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 5, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 8, "name": "reported_debt", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 4, "name": "deposited_collateral_value", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "reported_debt": {"type": "numeric", "index": 13, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 6, "name": "net_issuance", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "target": {"type": "text", "index": 8, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 10, "name": "deposited_collateral_value", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 5, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"token_amount": {"type": "numeric", "index": 1, "name": "token_amount", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market": {"type": "text", "index": 1, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 2, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "reported_debt": {"type": "numeric", "index": 13, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited"}, "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "core_proxy_legacy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 6, "name": "target", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 8, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "reported_debt": {"type": "numeric", "index": 14, "name": "reported_debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 8, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_collateral_modified", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "amount_delta": {"type": "numeric", "index": 9, "name": "amount_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "interest": {"type": "numeric", "index": 3, "name": "interest", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_interest_rate_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "interest_rate": {"type": "numeric", "index": 4, "name": "interest_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 6, "name": "super_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 3, "name": "market_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "perps_market_id": {"type": "numeric", "index": 6, "name": "perps_market_id", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 3, "name": "current_funding_velocity", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "interest_rate": {"type": "numeric", "index": 9, "name": "interest_rate", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 14, "name": "current_funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"expected_price_time": {"type": "numeric", "index": 1, "name": "expected_price_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "settlement_time": {"type": "numeric", "index": 6, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 7, "name": "expiration_time", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 17, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "settlement_reward": {"type": "numeric", "index": 3, "name": "settlement_reward", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "total_fees": {"type": "numeric", "index": 6, "name": "total_fees", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "accrued_funding": {"type": "numeric", "index": 8, "name": "accrued_funding", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "referral_fees": {"type": "numeric", "index": 10, "name": "referral_fees", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "fill_price": {"type": "numeric", "index": 14, "name": "fill_price", "comment": null}, "new_size": {"type": "numeric", "index": 15, "name": "new_size", "comment": null}, "pnl": {"type": "numeric", "index": 16, "name": "pnl", "comment": null}, "collected_fees": {"type": "numeric", "index": 17, "name": "collected_fees", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 18, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 19, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_liquidated": {"type": "numeric", "index": 1, "name": "amount_liquidated", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 8, "name": "current_position_size", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "skew": {"type": "numeric", "index": 3, "name": "skew", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 4, "name": "current_funding_rate", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 10, "name": "current_funding_velocity", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated"}, "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "perps_market_proxy_legacy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "commitment_time": {"type": "numeric", "index": 4, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "expiration_time": {"type": "numeric", "index": 6, "name": "expiration_time", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "settlement_time": {"type": "numeric", "index": 13, "name": "settlement_time", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 9, "name": "async_order_claim", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "async_order_id": {"type": "numeric", "index": 7, "name": "async_order_id", "comment": null}, "order_type": {"type": "integer", "index": 8, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "final_order_amount": {"type": "numeric", "index": 2, "name": "final_order_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "settler": {"type": "text", "index": 11, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 13, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 3, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 12, "name": "synth_returned", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_token_address": {"type": "text", "index": 5, "name": "synth_token_address", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"referrer": {"type": "text", "index": 1, "name": "referrer", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 6, "name": "amount_unwrapped", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_wrapped": {"type": "numeric", "index": 1, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 6, "name": "fees_collected", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_base_sepolia.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"number": {"type": "integer", "index": 1, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "timestamp": {"type": "timestamp with time zone", "index": 3, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.block"}, "source.synthetix.raw_base_sepolia.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.blocks_parquet"}, "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "buyback_snx_event_buyback_processed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "usd": {"type": "numeric", "index": 2, "name": "usd", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed"}, "source.synthetix.raw_base_sepolia.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_collateral"}, "source.synthetix.raw_base_sepolia.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_get_vault_debt"}, "source.synthetix.raw_base_sepolia.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created"}, "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 5, "name": "leverage", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated"}, "source.synthetix.raw_base_sepolia.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "credit_capacity": {"type": "numeric", "index": 2, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 3, "name": "deposited_collateral_value", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "reported_debt": {"type": "numeric", "index": 6, "name": "reported_debt", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"reported_debt": {"type": "numeric", "index": 1, "name": "reported_debt", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 3, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 6, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "credit_capacity": {"type": "numeric", "index": 10, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 12, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 14, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 3, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "market": {"type": "text", "index": 5, "name": "market", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 8, "name": "deposited_collateral_value", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "target": {"type": "text", "index": 10, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 12, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 13, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"credit_capacity": {"type": "numeric", "index": 1, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 4, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "target": {"type": "text", "index": 7, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created"}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"start": {"type": "numeric", "index": 1, "name": "start", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned"}, "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted"}, "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn"}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "target": {"type": "text", "index": 2, "name": "target", "comment": null}, "reported_debt": {"type": "numeric", "index": 3, "name": "reported_debt", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "market": {"type": "text", "index": 6, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 7, "name": "net_issuance", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 9, "name": "credit_capacity", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}, "market_id": {"type": "numeric", "index": 14, "name": "market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited"}, "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "core_proxy_legacy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 2, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 4, "name": "net_issuance", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "target": {"type": "text", "index": 6, "name": "target", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "reported_debt": {"type": "numeric", "index": 10, "name": "reported_debt", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 14, "name": "deposited_collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_account_liquidation_attempt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_collateral_modified", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_charged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_interest_rate_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 2, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 8, "name": "market_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 2, "name": "current_funding_velocity", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 7, "name": "current_funding_rate", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "interest_rate": {"type": "numeric", "index": 12, "name": "interest_rate", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "expiration_time": {"type": "numeric", "index": 11, "name": "expiration_time", "comment": null}, "commitment_time": {"type": "numeric", "index": 12, "name": "commitment_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 13, "name": "expected_price_time", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}, "settlement_time": {"type": "numeric", "index": 15, "name": "settlement_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 16, "name": "acceptable_price", "comment": null}, "sender": {"type": "text", "index": 17, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 8, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "settler": {"type": "text", "index": 10, "name": "settler", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 12, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 13, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 17, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 18, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 19, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_position_liquidated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 10, "name": "current_position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_event_previous_order_expired", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_market_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 3, "name": "skew", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 5, "name": "current_funding_velocity", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 11, "name": "current_funding_rate", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated"}, "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "perps_market_proxy_legacy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_id": {"type": "numeric", "index": 1, "name": "market_id", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "expiration_time": {"type": "numeric", "index": 7, "name": "expiration_time", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "settlement_time": {"type": "numeric", "index": 10, "name": "settlement_time", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 12, "name": "acceptable_price", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}, "commitment_time": {"type": "numeric", "index": 16, "name": "commitment_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 7, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 12, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees": {"type": "jsonb", "index": 1, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 2, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 8, "name": "final_order_amount", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 8, "name": "synth_token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 5, "name": "amount_unwrapped", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_base_sepolia", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped"}, "source.synthetix.raw_optimism_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "block", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "timestamp with time zone", "index": 1, "name": "timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "number": {"type": "integer", "index": 3, "name": "number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.block"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "leverage": {"type": "numeric", "index": 3, "name": "leverage", "comment": null}, "amount": {"type": "numeric", "index": 4, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 11, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 4, "name": "liquidate_as_account_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 6, "name": "liquidation_data", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "token_amount": {"type": "numeric", "index": 3, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_collateral_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "market": {"type": "text", "index": 4, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_rewards_distributed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "duration": {"type": "numeric", "index": 7, "name": "duration", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 10, "name": "start", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_burned", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 11, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_usd_minted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 3, "name": "pool_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 9, "name": "liquidation_data", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "token_amount": {"type": "numeric", "index": 2, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 5, "name": "market_key", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v21_inch_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aave_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ada_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_algo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_round_id": {"type": "numeric", "index": 1, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ankr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 6, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ape_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_apt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "stakers_fee": {"type": "numeric", "index": 8, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_arb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_atom_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_aud_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_avax_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_axs_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bal_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"intention_time": {"type": "numeric", "index": 1, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bch_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_blur_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_rate": {"type": "numeric", "index": 1, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 4, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bnb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_bonk_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_btc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_celo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 10, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_comp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger": {"type": "text", "index": 1, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_crv_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_cvx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_doge_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 15, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dot_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 7, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 15, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_dydx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_enj_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eos_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_etc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 7, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 7, "name": "intention_time", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ethbtc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_eur_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"intention_time": {"type": "numeric", "index": 1, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fet_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fil_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 5, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 15, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_floki_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_flow_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 10, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ftm_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_fxs_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 15, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gbp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"current_round_id": {"type": "numeric", "index": 1, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_gmx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 6, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_grt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_icp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jto_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_jup_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 14, "name": "liquidator_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 7, "name": "current_round_id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 12, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 8, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 2, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 6, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 14, "name": "liquidator", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 8, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 3, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 15, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 3, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 6, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_ordi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 8, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pendle_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 15, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 14, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_rate": {"type": "numeric", "index": 1, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "funding": {"type": "numeric", "index": 4, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 3, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "stakers_fee": {"type": "numeric", "index": 8, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 15, "name": "intention_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 3, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "index": {"type": "numeric", "index": 7, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "current_round_id": {"type": "numeric", "index": 8, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"market_key": {"type": "text", "index": 1, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 8, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 15, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 3, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 5, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_rune_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sei_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 6, "name": "base_asset", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "flagger_fee": {"type": "numeric", "index": 8, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 13, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_shib_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "intention_time": {"type": "numeric", "index": 9, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 12, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 10, "name": "flagger", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 15, "name": "skew", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sol_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 15, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_steth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 3, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 11, "name": "market_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_stetheth_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 6, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 12, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin": {"type": "numeric", "index": 1, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_strk_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 7, "name": "id0", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sui_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 12, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 4, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 15, "name": "margin", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_sushi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_tia_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 6, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 5, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 6, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trb_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 3, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 11, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"executable_at_time": {"type": "numeric", "index": 1, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "intention_time": {"type": "numeric", "index": 3, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 7, "name": "target_round_id", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 15, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"index": {"type": "numeric", "index": 1, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 7, "name": "funding_rate", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 10, "name": "funding", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin_delta": {"type": "numeric", "index": 1, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 11, "name": "base_asset", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator": {"type": "text", "index": 1, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_trx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 14, "name": "trade_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 5, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 14, "name": "current_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 9, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 8, "name": "margin_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger": {"type": "text", "index": 1, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 9, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 10, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 11, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 14, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uma_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size_delta": {"type": "numeric", "index": 1, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "current_round_id": {"type": "numeric", "index": 4, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 5, "name": "target_round_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 7, "name": "commit_deposit", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 14, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 15, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 6, "name": "margin_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 4, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 8, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 10, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 2, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 15, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_uni_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 14, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 2, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 5, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 9, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 2, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 13, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 8, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_usdt_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 12, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 2, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 3, "name": "stakers_fee", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 7, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 10, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 15, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_wld_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"is_offchain": {"type": "boolean", "index": 1, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "target_round_id": {"type": "numeric", "index": 9, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 10, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 2, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 4, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 2, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 7, "name": "funding_index", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 15, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xag_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 2, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 10, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 12, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 2, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "intention_time": {"type": "numeric", "index": 13, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 14, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "market_key": {"type": "text", "index": 7, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 5, "name": "stakers_fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 5, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xau_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 5, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 12, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 2, "name": "executable_at_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 3, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 4, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 6, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 11, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "is_offchain": {"type": "boolean", "index": 13, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "timestamp": {"type": "numeric", "index": 3, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "funding": {"type": "numeric", "index": 9, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 3, "name": "base_asset", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 8, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 6, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"size": {"type": "numeric", "index": 1, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 2, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 13, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 14, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xlm_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"last_price": {"type": "numeric", "index": 1, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 3, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 4, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 6, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 11, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 13, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 5, "name": "intention_time", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "index": {"type": "numeric", "index": 3, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 6, "name": "funding", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 9, "name": "funding_rate", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 5, "name": "margin_delta", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "flagger": {"type": "text", "index": 7, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 9, "name": "timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 2, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 4, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 6, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 9, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "liquidator": {"type": "text", "index": 3, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 6, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 7, "name": "margin", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "skew": {"type": "numeric", "index": 11, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xmr_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 9, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "last_price": {"type": "numeric", "index": 13, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"commit_deposit": {"type": "numeric", "index": 1, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 4, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 6, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 9, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 14, "name": "is_offchain", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 11, "name": "intention_time", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"base_asset": {"type": "text", "index": 1, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 4, "name": "flagger", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "account": {"type": "text", "index": 8, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 4, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 8, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 11, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 14, "name": "flagger_fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 2, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 11, "name": "price", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 13, "name": "margin", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xrp_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fee": {"type": "numeric", "index": 2, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "last_price": {"type": "numeric", "index": 8, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 13, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 2, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 3, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 5, "name": "keeper_deposit", "comment": null}, "commit_deposit": {"type": "numeric", "index": 6, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 9, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "tracking_code": {"type": "text", "index": 13, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 14, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target_round_id": {"type": "numeric", "index": 1, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 2, "name": "commit_deposit", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 4, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 7, "name": "executable_at_time", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 13, "name": "keeper_deposit", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 15, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 2, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size_delta": {"type": "numeric", "index": 7, "name": "size_delta", "comment": null}, "fee": {"type": "numeric", "index": 8, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 2, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 4, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 5, "name": "liquidator", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"trade_size": {"type": "numeric", "index": 1, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 2, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_xtz_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 11, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 8, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 9, "name": "size_delta", "comment": null}, "current_round_id": {"type": "numeric", "index": 10, "name": "current_round_id", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 7, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "intention_time": {"type": "numeric", "index": 10, "name": "intention_time", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "executable_at_time": {"type": "numeric", "index": 14, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 3, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 6, "name": "funding_rate", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 8, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "market_key": {"type": "text", "index": 3, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "base_asset": {"type": "text", "index": 10, "name": "base_asset", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "numeric", "index": 1, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 3, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"flagger_fee": {"type": "numeric", "index": 1, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 7, "name": "liquidator_fee", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 10, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "account": {"type": "text", "index": 13, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 7, "name": "size", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "fee": {"type": "numeric", "index": 12, "name": "fee", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 5, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "margin": {"type": "numeric", "index": 9, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 10, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 12, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 13, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 15, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_yfi_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "size": {"type": "numeric", "index": 3, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 7, "name": "trade_size", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 14, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "tracking_code": {"type": "text", "index": 4, "name": "tracking_code", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "commit_deposit": {"type": "numeric", "index": 8, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "target_round_id": {"type": "numeric", "index": 11, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 12, "name": "current_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 14, "name": "keeper_deposit", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"keeper_deposit": {"type": "numeric", "index": 1, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 7, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 10, "name": "executable_at_time", "comment": null}, "commit_deposit": {"type": "numeric", "index": 11, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 13, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 14, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 15, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "index": {"type": "numeric", "index": 2, "name": "index", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 4, "name": "timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "funding": {"type": "numeric", "index": 7, "name": "funding", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "funding_rate": {"type": "numeric", "index": 10, "name": "funding_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 5, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 9, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 10, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "flagger": {"type": "text", "index": 9, "name": "flagger", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "stakers_fee": {"type": "numeric", "index": 7, "name": "stakers_fee", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 9, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 11, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 12, "name": "liquidator_fee", "comment": null}, "flagger_fee": {"type": "numeric", "index": 13, "name": "flagger_fee", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 9, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 12, "name": "account", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 2, "name": "last_price", "comment": null}, "funding_index": {"type": "numeric", "index": 3, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 4, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 5, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 6, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 9, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 10, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 14, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 15, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zec_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 5, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 6, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_index": {"type": "numeric", "index": 8, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "margin": {"type": "numeric", "index": 10, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"tracking_code": {"type": "text", "index": 1, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 3, "name": "account", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 6, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 10, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "target_round_id": {"type": "numeric", "index": 12, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 13, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 14, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 2, "name": "is_offchain", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 8, "name": "tracking_code", "comment": null}, "commit_deposit": {"type": "numeric", "index": 9, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 10, "name": "target_round_id", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}, "executable_at_time": {"type": "numeric", "index": 15, "name": "executable_at_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 2, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 4, "name": "index", "comment": null}, "funding": {"type": "numeric", "index": 5, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 8, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account": {"type": "text", "index": 4, "name": "account", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "margin_delta": {"type": "numeric", "index": 7, "name": "margin_delta", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 2, "name": "size_delta", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "market_key": {"type": "text", "index": 5, "name": "market_key", "comment": null}, "tracking_code": {"type": "text", "index": 6, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "base_asset": {"type": "text", "index": 9, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 2, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 5, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "timestamp": {"type": "numeric", "index": 7, "name": "timestamp", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id0": {"type": "numeric", "index": 1, "name": "id0", "comment": null}, "stakers_fee": {"type": "numeric", "index": 2, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 9, "name": "flagger_fee", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "liquidator_fee": {"type": "numeric", "index": 11, "name": "liquidator_fee", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 13, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "fee": {"type": "numeric", "index": 7, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 10, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "size": {"type": "numeric", "index": 12, "name": "size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"skew": {"type": "numeric", "index": 1, "name": "skew", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "fee": {"type": "numeric", "index": 4, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "last_price": {"type": "numeric", "index": 9, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 13, "name": "trade_size", "comment": null}, "size": {"type": "numeric", "index": 14, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 15, "name": "funding_index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zil_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding_index": {"type": "numeric", "index": 1, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "trade_size": {"type": "numeric", "index": 3, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 4, "name": "margin", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 7, "name": "last_price", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "fee": {"type": "numeric", "index": 11, "name": "fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_removed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 3, "name": "is_offchain", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 5, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "target_round_id": {"type": "numeric", "index": 8, "name": "target_round_id", "comment": null}, "current_round_id": {"type": "numeric", "index": 9, "name": "current_round_id", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 11, "name": "keeper_deposit", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}, "commit_deposit": {"type": "numeric", "index": 13, "name": "commit_deposit", "comment": null}, "transaction_hash": {"type": "text", "index": 14, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_delayed_order_submitted", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "keeper_deposit": {"type": "numeric", "index": 4, "name": "keeper_deposit", "comment": null}, "account": {"type": "text", "index": 5, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "is_offchain": {"type": "boolean", "index": 8, "name": "is_offchain", "comment": null}, "executable_at_time": {"type": "numeric", "index": 9, "name": "executable_at_time", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "intention_time": {"type": "numeric", "index": 12, "name": "intention_time", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "commit_deposit": {"type": "numeric", "index": 14, "name": "commit_deposit", "comment": null}, "target_round_id": {"type": "numeric", "index": 15, "name": "target_round_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_funding_recomputed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"funding": {"type": "numeric", "index": 1, "name": "funding", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "funding_rate": {"type": "numeric", "index": 4, "name": "funding_rate", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "timestamp": {"type": "numeric", "index": 8, "name": "timestamp", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "index": {"type": "numeric", "index": 10, "name": "index", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_margin_transferred", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "margin_delta": {"type": "numeric", "index": 4, "name": "margin_delta", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "account": {"type": "text", "index": 7, "name": "account", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_perps_tracking", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "market_key": {"type": "text", "index": 2, "name": "market_key", "comment": null}, "fee": {"type": "numeric", "index": 3, "name": "fee", "comment": null}, "size_delta": {"type": "numeric", "index": 4, "name": "size_delta", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "base_asset": {"type": "text", "index": 7, "name": "base_asset", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_flagged", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 3, "name": "id0", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 6, "name": "account", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "flagger": {"type": "text", "index": 8, "name": "flagger", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "timestamp": {"type": "numeric", "index": 10, "name": "timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"liquidator_fee": {"type": "numeric", "index": 1, "name": "liquidator_fee", "comment": null}, "size": {"type": "numeric", "index": 2, "name": "size", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "flagger_fee": {"type": "numeric", "index": 7, "name": "flagger_fee", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 9, "name": "account", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "stakers_fee": {"type": "numeric", "index": 11, "name": "stakers_fee", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "id0": {"type": "numeric", "index": 13, "name": "id0", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_liquidated1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fee": {"type": "numeric", "index": 1, "name": "fee", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "liquidator": {"type": "text", "index": 4, "name": "liquidator", "comment": null}, "price": {"type": "numeric", "index": 5, "name": "price", "comment": null}, "size": {"type": "numeric", "index": 6, "name": "size", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id0": {"type": "numeric", "index": 8, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "account": {"type": "text", "index": 11, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified0", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"margin": {"type": "numeric", "index": 1, "name": "margin", "comment": null}, "trade_size": {"type": "numeric", "index": 2, "name": "trade_size", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "funding_index": {"type": "numeric", "index": 4, "name": "funding_index", "comment": null}, "size": {"type": "numeric", "index": 5, "name": "size", "comment": null}, "last_price": {"type": "numeric", "index": 6, "name": "last_price", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "account": {"type": "text", "index": 10, "name": "account", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}, "skew": {"type": "numeric", "index": 12, "name": "skew", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 13, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 14, "name": "fee", "comment": null}, "id0": {"type": "numeric", "index": 15, "name": "id0", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0"}, "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "perps_v2_zrx_event_position_modified1", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account": {"type": "text", "index": 1, "name": "account", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "id0": {"type": "numeric", "index": 4, "name": "id0", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "fee": {"type": "numeric", "index": 6, "name": "fee", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "size": {"type": "numeric", "index": 8, "name": "size", "comment": null}, "funding_index": {"type": "numeric", "index": 9, "name": "funding_index", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "trade_size": {"type": "numeric", "index": 11, "name": "trade_size", "comment": null}, "margin": {"type": "numeric", "index": 12, "name": "margin", "comment": null}, "transaction_hash": {"type": "text", "index": 13, "name": "transaction_hash", "comment": null}, "last_price": {"type": "numeric", "index": 14, "name": "last_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_cancelled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_committed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"async_order_id": {"type": "numeric", "index": 1, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_order_settled", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 4, "name": "final_order_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "settler": {"type": "text", "index": 7, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 9, "name": "async_order_id", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 11, "name": "order_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "contract": {"type": "text", "index": 14, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_bought", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 7, "name": "collected_fees", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 9, "name": "referrer", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 12, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 2, "name": "synth_token_address", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_sold", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "price": {"type": "numeric", "index": 2, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 3, "name": "collected_fees", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "amount_returned": {"type": "numeric", "index": 10, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_unwrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"amount_unwrapped": {"type": "numeric", "index": 1, "name": "amount_unwrapped", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees": {"type": "jsonb", "index": 9, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_optimism_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 3, "name": "amount_wrapped", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 7, "name": "fees", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "fees_collected": {"type": "numeric", "index": 9, "name": "fees_collected", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped"}}, "errors": null}
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql
new file mode 100644
index 00000000..a87bab21
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql
@@ -0,0 +1,58 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated,
+ ROW_NUMBER() over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp DESC
+ ) AS rn
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ CAST(
+ account_id AS text
+ ) AS account_id,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+WHERE
+ rn = 1
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql
new file mode 100644
index 00000000..8bc822a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql
@@ -0,0 +1,209 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_pnl,
+ hourly_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct,
+ SUM(
+ COALESCE(
+ hourly_issuance,
+ 0
+ )
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_issuance,
+ SUM(
+ hourly_pnl
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_pnl
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_pnl_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_total_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.debt AS debt,
+ pnl_hourly.hourly_pnl AS hourly_pnl,
+ pnl_hourly.cumulative_pnl AS cumulative_pnl,
+ pnl_hourly.hourly_issuance AS hourly_issuance,
+ pnl_hourly.cumulative_issuance AS cumulative_issuance,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ -- total pnls
+ avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,
+ avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,
+ avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,
+ -- pool pnls
+ avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,
+ avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,
+ avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,
+ -- rewards pnls
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,
+ (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,
+ (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,
+ (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,
+ (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,
+ (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ cumulative_pnl,
+ cumulative_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ apr_24h,
+ apy_24h,
+ apr_7d,
+ apy_7d,
+ apr_28d,
+ apy_28d,
+ apr_24h_pnl,
+ apy_24h_pnl,
+ apr_7d_pnl,
+ apy_7d_pnl,
+ apr_28d_pnl,
+ apy_28d_pnl,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql
new file mode 100644
index 00000000..f1eec21f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql
@@ -0,0 +1,100 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_reward_arbitrum_mainnet"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.reward_token AS reward_token,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+ AND pnl_hourly.reward_token = avg_returns.reward_token
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql
new file mode 100644
index 00000000..ce941b93
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql
@@ -0,0 +1,35 @@
+WITH market_updated AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+)
+SELECT
+ id,
+ block_timestamp AS ts,
+ transaction_hash,
+ event_name,
+ market_id,
+ collateral_type,
+
+ credit_capacity / 1e18
+ AS credit_capacity,
+
+ net_issuance / 1e18
+ AS net_issuance,
+
+ token_amount / 1e18
+ AS token_amount
+FROM
+ market_updated
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql
new file mode 100644
index 00000000..312c4974
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql
@@ -0,0 +1,39 @@
+WITH events AS (
+ SELECT
+ block_timestamp,
+
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+ UNION ALL
+ SELECT
+ block_timestamp,-
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+),
+ranked_events AS (
+ SELECT
+ *,
+ SUM(token_amount) over (
+ PARTITION BY collateral_type
+ ORDER BY
+ block_timestamp rows BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS amount_deposited
+ FROM
+ events
+)
+SELECT
+ block_timestamp AS ts,
+ collateral_type,
+ amount_deposited
+FROM
+ ranked_events
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql
new file mode 100644
index 00000000..75d0976d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql
@@ -0,0 +1,44 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql
new file mode 100644
index 00000000..f0040619
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ pool_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ owner
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql
new file mode 100644
index 00000000..e656efb3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql
@@ -0,0 +1,10 @@
+SELECT
+ ts,
+ block_number,
+ pool_id,
+ collateral_type,
+ debt
+FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql
new file mode 100644
index 00000000..01fc76ed
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_arbitrum_mainnet.sql
@@ -0,0 +1,43 @@
+WITH burns AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+ -1 *
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+ ORDER BY
+ block_timestamp DESC
+),
+mints AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+ ORDER BY
+ block_timestamp DESC
+)
+SELECT
+ *
+FROM
+ burns
+UNION ALL
+SELECT
+ *
+FROM
+ mints
+ORDER BY
+ ts DESC
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..e1a1a324
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,110 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+max_debt_block AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS HOUR,
+ pool_id,
+ collateral_type,
+ MAX(block_number) AS max_block_number
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+ GROUP BY
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+),
+filt_issuance AS (
+ SELECT
+ CASE
+ WHEN i.block_number <= d.max_block_number
+ OR d.max_block_number IS NULL THEN i.ts
+ ELSE i.ts + INTERVAL '1 hour'
+ END AS ts,
+ i.pool_id,
+ i.collateral_type,
+ i.amount
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+ i
+ LEFT JOIN max_debt_block d
+ ON DATE_TRUNC(
+ 'hour',
+ i.ts
+ ) = d.hour
+ AND i.pool_id = d.pool_id
+ AND LOWER(
+ i.collateral_type
+ ) = LOWER(
+ d.collateral_type
+ )
+ WHERE
+ i.block_number <= (
+ SELECT
+ MAX(
+ max_block_number
+ )
+ FROM
+ max_debt_block
+ )
+),
+issuance AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ SUM(amount) AS hourly_issuance
+ FROM
+ filt_issuance
+ GROUP BY
+ 1,
+ 2,
+ 3
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ COALESCE(
+ i.hourly_issuance,
+ 0
+ ) AS hourly_issuance
+FROM
+ dim
+ LEFT JOIN issuance i
+ ON dim.pool_id = i.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ i.collateral_type
+ )
+ AND dim.ts = i.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..4c508169
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,210 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ p.pool_id,
+ p.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+ ) AS p
+GROUP BY
+ p.pool_id,
+ p.collateral_type
+),
+issuance AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ hourly_issuance
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet"
+),
+debt AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS debt
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+),
+collateral AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS collateral_value
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+ WHERE
+ pool_id = 1
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ debt.debt,
+ collateral.collateral_value,
+ SUM(
+ CASE
+ WHEN debt.debt IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS debt_id,
+ SUM(
+ CASE
+ WHEN collateral.collateral_value IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS collateral_id
+ FROM
+ dim
+ LEFT JOIN debt
+ ON dim.ts = debt.ts
+ AND dim.pool_id = debt.pool_id
+ AND dim.collateral_type = debt.collateral_type
+ LEFT JOIN collateral
+ ON dim.ts = collateral.ts
+ AND dim.pool_id = collateral.pool_id
+ AND dim.collateral_type = collateral.collateral_type
+),
+hourly_index AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ FIRST_VALUE(COALESCE(debt, 0)) over (
+ PARTITION BY debt_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS debt,
+ FIRST_VALUE(COALESCE(collateral_value, 0)) over (
+ PARTITION BY collateral_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS collateral_value
+ FROM
+ ffill
+),
+hourly_pnl AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type
+ ORDER BY
+ ts) - debt, 0) AS hourly_pnl
+ FROM
+ hourly_index
+),
+hourly_rewards AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet"
+),
+hourly_returns AS (
+ SELECT
+ pnl.ts,
+ pnl.pool_id,
+ pnl.collateral_type,
+ pnl.collateral_value,
+ pnl.debt,
+ COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) hourly_issuance,
+ pnl.hourly_pnl + COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) AS hourly_pnl,
+ COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) / pnl.collateral_value
+ END AS hourly_rewards_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value
+ END AS hourly_pnl_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value
+ END AS hourly_total_pct
+ FROM
+ hourly_pnl pnl
+ LEFT JOIN hourly_rewards rewards
+ ON pnl.ts = rewards.ts
+ AND pnl.pool_id = rewards.pool_id
+ AND pnl.collateral_type = rewards.collateral_type
+ LEFT JOIN issuance iss
+ ON pnl.ts = iss.ts
+ AND pnl.pool_id = iss.pool_id
+ AND LOWER(
+ pnl.collateral_type
+ ) = LOWER(
+ iss.collateral_type
+ )
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct
+FROM
+ hourly_returns
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql
new file mode 100644
index 00000000..fc06a2e6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql
@@ -0,0 +1,78 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol AS reward_token
+ FROM
+ (
+ SELECT
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT token_symbol
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+ ) AS p
+ GROUP BY
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol
+),
+reward_hourly_token AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol AS reward_token,
+ SUM(
+ rewards_usd
+ ) AS rewards_usd
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+ GROUP BY
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ dim.collateral_value,
+ dim.reward_token,
+ COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN dim.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) / dim.collateral_value
+ END AS hourly_rewards_pct
+FROM
+ dim
+ LEFT JOIN reward_hourly_token
+ ON dim.ts = reward_hourly_token.ts
+ AND dim.pool_id = reward_hourly_token.pool_id
+ AND dim.collateral_type = reward_hourly_token.collateral_type
+ and dim.reward_token = reward_hourly_token.reward_token
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql
new file mode 100644
index 00000000..856f19b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql
@@ -0,0 +1,37 @@
+WITH rewards_distributed AS (
+ SELECT
+ block_timestamp AS ts,
+ CAST(
+ pool_id AS INTEGER
+ ) AS pool_id,
+ collateral_type,
+ distributor,
+
+ amount / 1e18
+ AS amount,
+ TO_TIMESTAMP("start") AS ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+),
+distributors AS (
+ SELECT
+ CAST(distributor_address AS TEXT) AS distributor_address,
+ CAST(token_symbol AS TEXT) AS token_symbol
+ FROM
+ "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors"
+)
+SELECT
+ rd.ts,
+ rd.pool_id,
+ rd.collateral_type,
+ rd.distributor,
+ distributors.token_symbol,
+ rd.amount,
+ rd.ts_start,
+ rd.duration
+FROM
+ rewards_distributed rd
+ join distributors on rd.distributor = distributors.distributor_address
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..19fe3417
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,20 @@
+WITH token_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ SUM(rewards_usd) AS rewards_usd
+FROM
+ token_hourly
+GROUP BY
+ ts,
+ pool_id,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..ecc4bc00
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,113 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+rewards_distributed AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount,
+ ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+),
+hourly_distributions AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor,
+ r.token_symbol,
+ r.amount,
+ r.ts_start,
+ r."duration",
+ ROW_NUMBER() over (
+ PARTITION BY dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor
+ ORDER BY
+ r.ts_start DESC
+ ) AS distributor_index
+ FROM
+ dim
+ LEFT JOIN rewards_distributed r
+ ON dim.pool_id = r.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ r.collateral_type
+ )
+ AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start
+ AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL
+),
+hourly_rewards AS (
+ SELECT
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ p.price,
+ -- get the hourly amount distributed
+ d.amount / (
+ d."duration" / 3600
+ ) AS hourly_amount,
+ -- get the amount of time distributed this hour
+ -- use the smaller of those two intervals
+ -- convert the interval to a number of hours
+ -- multiply the result by the hourly amount to get the amount distributed this hour
+ (
+ EXTRACT(
+ epoch
+ FROM
+ LEAST(
+ d."duration" / 3600 * '1 hour' :: INTERVAL,
+ d.ts + '1 hour' :: INTERVAL - GREATEST(
+ d.ts,
+ d.ts_start
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) AS amount_distributed
+ FROM
+ hourly_distributions AS d
+ LEFT JOIN "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet"
+ p
+ ON d.ts = p.ts
+ AND d.token_symbol = p.market_symbol
+ WHERE
+ d.distributor_index = 1
+)
+SELECT
+ *,
+ amount_distributed * price AS rewards_usd
+FROM
+ hourly_rewards
+WHERE
+ amount_distributed IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql
new file mode 100644
index 00000000..60a8ac16
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql
new file mode 100644
index 00000000..6c30bc92
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql
new file mode 100644
index 00000000..02225fba
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql
new file mode 100644
index 00000000..32299d56
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql
new file mode 100644
index 00000000..29d822ea
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct >= -1
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql
new file mode 100644
index 00000000..cbb843e6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql
new file mode 100644
index 00000000..39d3e312
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql
new file mode 100644
index 00000000..1018d95f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql
new file mode 100644
index 00000000..143bc00b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql
new file mode 100644
index 00000000..d57e8a7c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_delegated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql
new file mode 100644
index 00000000..65140710
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql
new file mode 100644
index 00000000..23b271b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql
new file mode 100644
index 00000000..77491051
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql
new file mode 100644
index 00000000..71813b80
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql
new file mode 100644
index 00000000..88871d8f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql
new file mode 100644
index 00000000..2b330615
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql
new file mode 100644
index 00000000..6b4cccc2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_distributed >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql
new file mode 100644
index 00000000..491e8cbb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql
new file mode 100644
index 00000000..69773d46
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql
new file mode 100644
index 00000000..640575c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql
new file mode 100644
index 00000000..fe066aa2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql
new file mode 100644
index 00000000..4f715357
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql
new file mode 100644
index 00000000..19b4e95e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql
new file mode 100644
index 00000000..7b4feb09
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql
new file mode 100644
index 00000000..7c6c1a65
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql
new file mode 100644
index 00000000..11f713f3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct >= -1
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql
new file mode 100644
index 00000000..e27eca55
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql
new file mode 100644
index 00000000..b69584cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql
new file mode 100644
index 00000000..922b7850
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql
new file mode 100644
index 00000000..86ad5a6a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql
new file mode 100644
index 00000000..5e32f962
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delegated
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet"
+where amount_delegated is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..85ce2f40
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..23fcba26
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_core_account_delegation_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql
new file mode 100644
index 00000000..b38f0598
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_24h
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where apr_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql
new file mode 100644
index 00000000..467d2c30
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_28d
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where apr_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql
new file mode 100644
index 00000000..ba28af81
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_7d
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where apr_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql
new file mode 100644
index 00000000..90af8f37
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_24h
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where apy_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql
new file mode 100644
index 00000000..8c3a033e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_28d
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where apy_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql
new file mode 100644
index 00000000..773a25c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_7d
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where apy_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..58cdc0ec
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql
new file mode 100644
index 00000000..58bb0d51
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql
new file mode 100644
index 00000000..fba1adfb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_issuance
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where cumulative_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql
new file mode 100644
index 00000000..8d1f0b14
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_pnl
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where cumulative_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql
new file mode 100644
index 00000000..9dd0c3de
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..dac641cd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql
new file mode 100644
index 00000000..a045bf3a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql
new file mode 100644
index 00000000..7b4a04b0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql
new file mode 100644
index 00000000..5dd9c563
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..e383ef7c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..bf84c115
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..68725a4e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_core_apr_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql
new file mode 100644
index 00000000..0d25d547
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql
new file mode 100644
index 00000000..f9315121
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql
new file mode 100644
index 00000000..2b9a28ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..f4df3f9b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..9d80fe7e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..317c006e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql
new file mode 100644
index 00000000..093a9331
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql
new file mode 100644
index 00000000..5127005b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..45502b9d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql
new file mode 100644
index 00000000..51885936
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_collateral_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql
new file mode 100644
index 00000000..3e8c46e6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_deposited
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_collateral_arbitrum_mainnet"
+where amount_deposited is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..85c04e47
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_collateral_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql
new file mode 100644
index 00000000..503a5f58
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..d67ad5d1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..7141e06e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pool_delegation_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..15dd5f12
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql
new file mode 100644
index 00000000..b36f1b4d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..ce118e30
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql
new file mode 100644
index 00000000..37187ea1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_arbitrum_mainnet"."fct_core_pools_arbitrum_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..c024f03c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..d35ffbb3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql
new file mode 100644
index 00000000..8af820b9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..0c0f9079
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..cb04ebe3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_debt_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..d5324392
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..dc01f78c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..29a4a5e4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..72f03af0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..2e3f7222
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..4033525a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..a4e3688a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql
new file mode 100644
index 00000000..97cfd5e1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql
new file mode 100644
index 00000000..92634d6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..547141e9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..5f7565b2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_hourly_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql
new file mode 100644
index 00000000..a2658081
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..a7ee6317
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql
new file mode 100644
index 00000000..84216f4c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql
new file mode 100644
index 00000000..90bf934f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..4476d2f1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql
new file mode 100644
index 00000000..263b7200
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql
new file mode 100644
index 00000000..cb2aa628
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql
new file mode 100644
index 00000000..e62da7ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_total_pct
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where hourly_total_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..d877a18c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..f9e51e16
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..2b2c64aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_pnl_hourly_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..0d5c2b5a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..a1ef0e15
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql
new file mode 100644
index 00000000..4a6dbbf5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..c97fed06
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql
new file mode 100644
index 00000000..ad31ea44
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..073b94f7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql
new file mode 100644
index 00000000..1f0e8d60
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..a9c51063
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..f698e9b2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..ad4a126f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_hourly_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql
new file mode 100644
index 00000000..0fd301f3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql
new file mode 100644
index 00000000..26a8826f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql
new file mode 100644
index 00000000..e87b734c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql
new file mode 100644
index 00000000..daf9fe36
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_amount
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where hourly_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql
new file mode 100644
index 00000000..3635b304
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_distributed
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where amount_distributed is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql
new file mode 100644
index 00000000..5d4ee298
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..248f55a7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..aadcd6f4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..bf1591a2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_pool_rewards_token_hourly_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_core_market_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..04bfff7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_core_market_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_core_market_updated_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql
new file mode 100644
index 00000000..b86d4a77
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql
@@ -0,0 +1,34 @@
+WITH all_prices AS (
+ SELECT
+ ts,
+ collateral_type AS market_address,
+ NULL AS market_symbol,
+ collateral_value / amount AS price
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+ WHERE
+ collateral_value > 0
+),
+tokens AS (
+ SELECT
+ token_address,
+ token_symbol
+ FROM
+ "analytics"."prod_seeds"."arbitrum_mainnet_tokens"
+)
+SELECT
+ p.ts,
+ p.market_address,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) AS market_symbol,
+ p.price
+FROM
+ all_prices p
+ LEFT JOIN tokens t
+ ON LOWER(
+ p.market_address
+ ) = LOWER(
+ t.token_address
+ )
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql
new file mode 100644
index 00000000..5ba78a95
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,74 @@
+WITH prices AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS price
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet"
+),
+dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.market_symbol
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ prices
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT market_symbol
+ FROM
+ prices
+ ) AS m
+ GROUP BY
+ m.market_symbol
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.market_symbol,
+ prices.price,
+ SUM(
+ CASE
+ WHEN prices.price IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS price_id
+ FROM
+ dim
+ LEFT JOIN prices
+ ON dim.ts = prices.ts
+ AND dim.market_symbol = prices.market_symbol
+),
+hourly_prices AS (
+ SELECT
+ ts,
+ market_symbol,
+ FIRST_VALUE(price) over (
+ PARTITION BY price_id,
+ market_symbol
+ ORDER BY
+ ts
+ ) AS price
+ FROM
+ ffill
+)
+SELECT
+ *
+FROM
+ hourly_prices
+WHERE
+ price IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql
new file mode 100644
index 00000000..03a08823
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql
new file mode 100644
index 00000000..816b260b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..48c1a043
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..21fc4cf9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..663aff9c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_prices_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql
new file mode 100644
index 00000000..54ce9340
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..b251b8ed
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..b9d59ad6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_prices_hourly_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql
new file mode 100644
index 00000000..77424cef
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql
@@ -0,0 +1,59 @@
+WITH bought AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+
+ synth_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+),
+sold AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+ -1 *
+ amount_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ bought
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ sold
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql
new file mode 100644
index 00000000..8ff43dc9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_markets_arbitrum_mainnet.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ synth_market_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ synth_token_address AS token_address
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql
new file mode 100644
index 00000000..7a029953
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql
@@ -0,0 +1,47 @@
+WITH wraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ amount_wrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+),
+unwraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+ -1 *
+ amount_unwrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ wraps
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ unwraps
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql
new file mode 100644
index 00000000..6907048e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql
@@ -0,0 +1,75 @@
+WITH wrapper AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount_wrapped AS change_amount
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+),
+atomics AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount AS change_amount
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+ UNION ALL
+ SELECT
+ ts,
+ block_number,
+ 0 AS synth_market_id,
+ amount * price * -1 AS change_amount
+ FROM
+ "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+),
+usd_changes AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+ UNION ALL
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+ -1 *
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+),
+all_changes AS (
+ SELECT
+ *
+ FROM
+ wrapper
+ UNION ALL
+ SELECT
+ *
+ FROM
+ atomics
+ UNION ALL
+ SELECT
+ *
+ FROM
+ usd_changes
+)
+SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ SUM(change_amount) over (
+ PARTITION BY synth_market_id
+ ORDER BY
+ ts,
+ block_number
+ ) AS supply
+FROM
+ all_changes
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql
new file mode 100644
index 00000000..52f77158
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql
new file mode 100644
index 00000000..8f1f5213
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql
new file mode 100644
index 00000000..897faa11
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql
new file mode 100644
index 00000000..ca777a67
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..31376f60
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..87feb483
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..9b8070ae
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..23108413
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql
new file mode 100644
index 00000000..6627f7c3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..77853ec9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..d89cd530
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql
new file mode 100644
index 00000000..9d84d272
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..0825ab1d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql
new file mode 100644
index 00000000..f64909cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..ee82125e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql
new file mode 100644
index 00000000..30303101
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_markets_arbitrum_mainnet"
+where token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql
new file mode 100644
index 00000000..961fb4a3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_wrapped
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+where amount_wrapped is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..dde50abc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..ed23b170
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..2695b43b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..76b3ab76
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql
new file mode 100644
index 00000000..c2de72df
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..332c6686
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql
new file mode 100644
index 00000000..b801c3d1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select supply
+from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet"
+where supply is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..616da104
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..4c39da6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_mainnet"."fct_synth_supply_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..f3ec44ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_atomics_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_mainnet_id.sql b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..17d65918
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_mainnet"."fct_spot_wrapper_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql
new file mode 100644
index 00000000..47b929f8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql
@@ -0,0 +1,58 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated,
+ ROW_NUMBER() over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp DESC
+ ) AS rn
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ CAST(
+ account_id AS text
+ ) AS account_id,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+WHERE
+ rn = 1
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql
new file mode 100644
index 00000000..4697a6ff
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql
@@ -0,0 +1,209 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_pnl,
+ hourly_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct,
+ SUM(
+ COALESCE(
+ hourly_issuance,
+ 0
+ )
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_issuance,
+ SUM(
+ hourly_pnl
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_pnl
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_pnl_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_total_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.debt AS debt,
+ pnl_hourly.hourly_pnl AS hourly_pnl,
+ pnl_hourly.cumulative_pnl AS cumulative_pnl,
+ pnl_hourly.hourly_issuance AS hourly_issuance,
+ pnl_hourly.cumulative_issuance AS cumulative_issuance,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ -- total pnls
+ avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,
+ avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,
+ avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,
+ -- pool pnls
+ avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,
+ avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,
+ avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,
+ -- rewards pnls
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,
+ (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,
+ (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,
+ (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,
+ (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,
+ (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ cumulative_pnl,
+ cumulative_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ apr_24h,
+ apy_24h,
+ apr_7d,
+ apy_7d,
+ apr_28d,
+ apy_28d,
+ apr_24h_pnl,
+ apy_24h_pnl,
+ apr_7d_pnl,
+ apy_7d_pnl,
+ apr_28d_pnl,
+ apy_28d_pnl,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql
new file mode 100644
index 00000000..c43c1083
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql
@@ -0,0 +1,100 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_reward_arbitrum_sepolia"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.reward_token AS reward_token,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+ AND pnl_hourly.reward_token = avg_returns.reward_token
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql
new file mode 100644
index 00000000..60be4e6a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql
@@ -0,0 +1,35 @@
+WITH market_updated AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+)
+SELECT
+ id,
+ block_timestamp AS ts,
+ transaction_hash,
+ event_name,
+ market_id,
+ collateral_type,
+
+ credit_capacity / 1e18
+ AS credit_capacity,
+
+ net_issuance / 1e18
+ AS net_issuance,
+
+ token_amount / 1e18
+ AS token_amount
+FROM
+ market_updated
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql
new file mode 100644
index 00000000..b34b8fec
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql
@@ -0,0 +1,39 @@
+WITH events AS (
+ SELECT
+ block_timestamp,
+
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+ UNION ALL
+ SELECT
+ block_timestamp,-
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+),
+ranked_events AS (
+ SELECT
+ *,
+ SUM(token_amount) over (
+ PARTITION BY collateral_type
+ ORDER BY
+ block_timestamp rows BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS amount_deposited
+ FROM
+ events
+)
+SELECT
+ block_timestamp AS ts,
+ collateral_type,
+ amount_deposited
+FROM
+ ranked_events
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql
new file mode 100644
index 00000000..a4c432cd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql
@@ -0,0 +1,44 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql
new file mode 100644
index 00000000..3c82b5b4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ pool_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ owner
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql
new file mode 100644
index 00000000..4b84c276
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_debt_arbitrum_sepolia.sql
@@ -0,0 +1,10 @@
+SELECT
+ ts,
+ block_number,
+ pool_id,
+ collateral_type,
+ debt
+FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql
new file mode 100644
index 00000000..71e407c1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_arbitrum_sepolia.sql
@@ -0,0 +1,43 @@
+WITH burns AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+ -1 *
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+ ORDER BY
+ block_timestamp DESC
+),
+mints AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+ ORDER BY
+ block_timestamp DESC
+)
+SELECT
+ *
+FROM
+ burns
+UNION ALL
+SELECT
+ *
+FROM
+ mints
+ORDER BY
+ ts DESC
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..2ed33974
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,110 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+max_debt_block AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS HOUR,
+ pool_id,
+ collateral_type,
+ MAX(block_number) AS max_block_number
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+ GROUP BY
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+),
+filt_issuance AS (
+ SELECT
+ CASE
+ WHEN i.block_number <= d.max_block_number
+ OR d.max_block_number IS NULL THEN i.ts
+ ELSE i.ts + INTERVAL '1 hour'
+ END AS ts,
+ i.pool_id,
+ i.collateral_type,
+ i.amount
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+ i
+ LEFT JOIN max_debt_block d
+ ON DATE_TRUNC(
+ 'hour',
+ i.ts
+ ) = d.hour
+ AND i.pool_id = d.pool_id
+ AND LOWER(
+ i.collateral_type
+ ) = LOWER(
+ d.collateral_type
+ )
+ WHERE
+ i.block_number <= (
+ SELECT
+ MAX(
+ max_block_number
+ )
+ FROM
+ max_debt_block
+ )
+),
+issuance AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ SUM(amount) AS hourly_issuance
+ FROM
+ filt_issuance
+ GROUP BY
+ 1,
+ 2,
+ 3
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ COALESCE(
+ i.hourly_issuance,
+ 0
+ ) AS hourly_issuance
+FROM
+ dim
+ LEFT JOIN issuance i
+ ON dim.pool_id = i.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ i.collateral_type
+ )
+ AND dim.ts = i.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..d05cf5fd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,210 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ p.pool_id,
+ p.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+ ) AS p
+GROUP BY
+ p.pool_id,
+ p.collateral_type
+),
+issuance AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ hourly_issuance
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia"
+),
+debt AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS debt
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+),
+collateral AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS collateral_value
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+ WHERE
+ pool_id = 1
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ debt.debt,
+ collateral.collateral_value,
+ SUM(
+ CASE
+ WHEN debt.debt IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS debt_id,
+ SUM(
+ CASE
+ WHEN collateral.collateral_value IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS collateral_id
+ FROM
+ dim
+ LEFT JOIN debt
+ ON dim.ts = debt.ts
+ AND dim.pool_id = debt.pool_id
+ AND dim.collateral_type = debt.collateral_type
+ LEFT JOIN collateral
+ ON dim.ts = collateral.ts
+ AND dim.pool_id = collateral.pool_id
+ AND dim.collateral_type = collateral.collateral_type
+),
+hourly_index AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ FIRST_VALUE(COALESCE(debt, 0)) over (
+ PARTITION BY debt_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS debt,
+ FIRST_VALUE(COALESCE(collateral_value, 0)) over (
+ PARTITION BY collateral_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS collateral_value
+ FROM
+ ffill
+),
+hourly_pnl AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type
+ ORDER BY
+ ts) - debt, 0) AS hourly_pnl
+ FROM
+ hourly_index
+),
+hourly_rewards AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia"
+),
+hourly_returns AS (
+ SELECT
+ pnl.ts,
+ pnl.pool_id,
+ pnl.collateral_type,
+ pnl.collateral_value,
+ pnl.debt,
+ COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) hourly_issuance,
+ pnl.hourly_pnl + COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) AS hourly_pnl,
+ COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) / pnl.collateral_value
+ END AS hourly_rewards_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value
+ END AS hourly_pnl_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value
+ END AS hourly_total_pct
+ FROM
+ hourly_pnl pnl
+ LEFT JOIN hourly_rewards rewards
+ ON pnl.ts = rewards.ts
+ AND pnl.pool_id = rewards.pool_id
+ AND pnl.collateral_type = rewards.collateral_type
+ LEFT JOIN issuance iss
+ ON pnl.ts = iss.ts
+ AND pnl.pool_id = iss.pool_id
+ AND LOWER(
+ pnl.collateral_type
+ ) = LOWER(
+ iss.collateral_type
+ )
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct
+FROM
+ hourly_returns
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql
new file mode 100644
index 00000000..019d4c14
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql
@@ -0,0 +1,78 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol AS reward_token
+ FROM
+ (
+ SELECT
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT token_symbol
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+ ) AS p
+ GROUP BY
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol
+),
+reward_hourly_token AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol AS reward_token,
+ SUM(
+ rewards_usd
+ ) AS rewards_usd
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+ GROUP BY
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ dim.collateral_value,
+ dim.reward_token,
+ COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN dim.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) / dim.collateral_value
+ END AS hourly_rewards_pct
+FROM
+ dim
+ LEFT JOIN reward_hourly_token
+ ON dim.ts = reward_hourly_token.ts
+ AND dim.pool_id = reward_hourly_token.pool_id
+ AND dim.collateral_type = reward_hourly_token.collateral_type
+ and dim.reward_token = reward_hourly_token.reward_token
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql
new file mode 100644
index 00000000..a866fac6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql
@@ -0,0 +1,37 @@
+WITH rewards_distributed AS (
+ SELECT
+ block_timestamp AS ts,
+ CAST(
+ pool_id AS INTEGER
+ ) AS pool_id,
+ collateral_type,
+ distributor,
+
+ amount / 1e18
+ AS amount,
+ TO_TIMESTAMP("start") AS ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+),
+distributors AS (
+ SELECT
+ CAST(distributor_address AS TEXT) AS distributor_address,
+ CAST(token_symbol AS TEXT) AS token_symbol
+ FROM
+ "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors"
+)
+SELECT
+ rd.ts,
+ rd.pool_id,
+ rd.collateral_type,
+ rd.distributor,
+ distributors.token_symbol,
+ rd.amount,
+ rd.ts_start,
+ rd.duration
+FROM
+ rewards_distributed rd
+ join distributors on rd.distributor = distributors.distributor_address
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..d9b7e00a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,20 @@
+WITH token_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ SUM(rewards_usd) AS rewards_usd
+FROM
+ token_hourly
+GROUP BY
+ ts,
+ pool_id,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..eea01269
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,113 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+rewards_distributed AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount,
+ ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+),
+hourly_distributions AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor,
+ r.token_symbol,
+ r.amount,
+ r.ts_start,
+ r."duration",
+ ROW_NUMBER() over (
+ PARTITION BY dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor
+ ORDER BY
+ r.ts_start DESC
+ ) AS distributor_index
+ FROM
+ dim
+ LEFT JOIN rewards_distributed r
+ ON dim.pool_id = r.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ r.collateral_type
+ )
+ AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start
+ AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL
+),
+hourly_rewards AS (
+ SELECT
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ p.price,
+ -- get the hourly amount distributed
+ d.amount / (
+ d."duration" / 3600
+ ) AS hourly_amount,
+ -- get the amount of time distributed this hour
+ -- use the smaller of those two intervals
+ -- convert the interval to a number of hours
+ -- multiply the result by the hourly amount to get the amount distributed this hour
+ (
+ EXTRACT(
+ epoch
+ FROM
+ LEAST(
+ d."duration" / 3600 * '1 hour' :: INTERVAL,
+ d.ts + '1 hour' :: INTERVAL - GREATEST(
+ d.ts,
+ d.ts_start
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) AS amount_distributed
+ FROM
+ hourly_distributions AS d
+ LEFT JOIN "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia"
+ p
+ ON d.ts = p.ts
+ AND d.token_symbol = p.market_symbol
+ WHERE
+ d.distributor_index = 1
+)
+SELECT
+ *,
+ amount_distributed * price AS rewards_usd
+FROM
+ hourly_rewards
+WHERE
+ amount_distributed IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql
new file mode 100644
index 00000000..bde434c9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql
new file mode 100644
index 00000000..ec32b9af
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql
new file mode 100644
index 00000000..d211f6f5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql
new file mode 100644
index 00000000..c77bc457
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_delegated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql
new file mode 100644
index 00000000..10815b09
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql
new file mode 100644
index 00000000..d8cde2c8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct >= -1
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql
new file mode 100644
index 00000000..86794c78
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql
new file mode 100644
index 00000000..47d17b7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql
new file mode 100644
index 00000000..a16985db
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql
new file mode 100644
index 00000000..ac044003
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql
new file mode 100644
index 00000000..f487b272
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql
new file mode 100644
index 00000000..44bc6903
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql
new file mode 100644
index 00000000..d91ab33d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql
new file mode 100644
index 00000000..2969e102
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql
new file mode 100644
index 00000000..4dd2c8c1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql
new file mode 100644
index 00000000..9775e65c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql
new file mode 100644
index 00000000..0db68f76
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql
new file mode 100644
index 00000000..1cd970ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql
new file mode 100644
index 00000000..bede6240
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql
new file mode 100644
index 00000000..a2403ab3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql
new file mode 100644
index 00000000..12cc2358
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql
new file mode 100644
index 00000000..34c4491e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql
new file mode 100644
index 00000000..94b06eca
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct >= -1
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql
new file mode 100644
index 00000000..3bed4fae
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql
new file mode 100644
index 00000000..fd32b4a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql
new file mode 100644
index 00000000..98eddedd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql
new file mode 100644
index 00000000..c9a09481
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_distributed >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql
new file mode 100644
index 00000000..dae73fca
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql
new file mode 100644
index 00000000..b9c9268c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql
new file mode 100644
index 00000000..a881849c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql
new file mode 100644
index 00000000..69d7ddcd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delegated
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia"
+where amount_delegated is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..af727bdf
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..5e6bff8a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_core_account_delegation_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql
new file mode 100644
index 00000000..b4ecd4f1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_24h
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where apr_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql
new file mode 100644
index 00000000..cb5b3f3a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_28d
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where apr_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql
new file mode 100644
index 00000000..21017cdc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_7d
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where apr_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql
new file mode 100644
index 00000000..00014a70
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_24h
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where apy_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql
new file mode 100644
index 00000000..5bac8a58
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_28d
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where apy_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql
new file mode 100644
index 00000000..badf0adb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_7d
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where apy_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..23d6793d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql
new file mode 100644
index 00000000..7222ca9f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql
new file mode 100644
index 00000000..717a179a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_issuance
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where cumulative_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql
new file mode 100644
index 00000000..1f642d93
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_pnl
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where cumulative_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql
new file mode 100644
index 00000000..0dc136c8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql
new file mode 100644
index 00000000..7981655a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql
new file mode 100644
index 00000000..e50de65f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql
new file mode 100644
index 00000000..ebd9959e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql
new file mode 100644
index 00000000..3ed56e36
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..47ce3611
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql
new file mode 100644
index 00000000..e9a90a8b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..45bdf0d0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_core_apr_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql
new file mode 100644
index 00000000..43db937b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql
new file mode 100644
index 00000000..0a733ea9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql
new file mode 100644
index 00000000..ce570331
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..4a51dafc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..d496ca41
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..a23c2bdb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql
new file mode 100644
index 00000000..e7fc26ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql
new file mode 100644
index 00000000..4acb5bcb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..d32486d7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql
new file mode 100644
index 00000000..b547f1dd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_deposited
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_collateral_arbitrum_sepolia"
+where amount_deposited is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql
new file mode 100644
index 00000000..317c8266
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_collateral_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..08d39234
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_collateral_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql
new file mode 100644
index 00000000..d67df9a3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..e447a474
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..86c9b42c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pool_delegation_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..cc22615f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql
new file mode 100644
index 00000000..7c8640bc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..7c0f034e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql
new file mode 100644
index 00000000..f114a127
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_arbitrum_sepolia"."fct_core_pools_arbitrum_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..fc2344df
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..3da3cf15
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql
new file mode 100644
index 00000000..27622a8f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..6e0f2edb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..0c5fafae
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_debt_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..4bfa9d70
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..d6c03cff
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..6120f10e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..482f8118
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..1cb1ff25
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..5488bc10
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..3231c012
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql
new file mode 100644
index 00000000..d1f13f63
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql
new file mode 100644
index 00000000..fd141b68
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..e7dae77e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..d04bca6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_hourly_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql
new file mode 100644
index 00000000..d79d63e0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..e6c04993
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql
new file mode 100644
index 00000000..1c73401a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql
new file mode 100644
index 00000000..8dce3d7b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql
new file mode 100644
index 00000000..cd958517
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql
new file mode 100644
index 00000000..20db083b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql
new file mode 100644
index 00000000..e7e3c673
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql
new file mode 100644
index 00000000..0b2e6ea9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_total_pct
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where hourly_total_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..131b6804
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql
new file mode 100644
index 00000000..91eb738b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..cc098cb0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_pnl_hourly_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..e0dc1f48
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..e3a24610
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql
new file mode 100644
index 00000000..45e3e7e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..fef13e13
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql
new file mode 100644
index 00000000..fc52b290
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..24774dd2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql
new file mode 100644
index 00000000..560edabd
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..25ac0087
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql
new file mode 100644
index 00000000..98debeff
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..fa56e159
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_hourly_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql
new file mode 100644
index 00000000..67ec93a1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql
new file mode 100644
index 00000000..c842d1cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql
new file mode 100644
index 00000000..8e1c62fc
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_amount
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where hourly_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql
new file mode 100644
index 00000000..9c63b83c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql
new file mode 100644
index 00000000..f3e3c4a2
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_distributed
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where amount_distributed is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql
new file mode 100644
index 00000000..d45d4b6d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..95bef6ab
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..899325c8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..d20d146d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_pool_rewards_token_hourly_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_core_market_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..830e826f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_core_market_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_core_market_updated_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql
new file mode 100644
index 00000000..1af3f057
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql
@@ -0,0 +1,34 @@
+WITH all_prices AS (
+ SELECT
+ ts,
+ collateral_type AS market_address,
+ NULL AS market_symbol,
+ collateral_value / amount AS price
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+ WHERE
+ collateral_value > 0
+),
+tokens AS (
+ SELECT
+ token_address,
+ token_symbol
+ FROM
+ "analytics"."prod_seeds"."arbitrum_sepolia_tokens"
+)
+SELECT
+ p.ts,
+ p.market_address,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) AS market_symbol,
+ p.price
+FROM
+ all_prices p
+ LEFT JOIN tokens t
+ ON LOWER(
+ p.market_address
+ ) = LOWER(
+ t.token_address
+ )
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql
new file mode 100644
index 00000000..902b8ce4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,74 @@
+WITH prices AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS price
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia"
+),
+dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.market_symbol
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ prices
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT market_symbol
+ FROM
+ prices
+ ) AS m
+ GROUP BY
+ m.market_symbol
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.market_symbol,
+ prices.price,
+ SUM(
+ CASE
+ WHEN prices.price IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS price_id
+ FROM
+ dim
+ LEFT JOIN prices
+ ON dim.ts = prices.ts
+ AND dim.market_symbol = prices.market_symbol
+),
+hourly_prices AS (
+ SELECT
+ ts,
+ market_symbol,
+ FIRST_VALUE(price) over (
+ PARTITION BY price_id,
+ market_symbol
+ ORDER BY
+ ts
+ ) AS price
+ FROM
+ ffill
+)
+SELECT
+ *
+FROM
+ hourly_prices
+WHERE
+ price IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql
new file mode 100644
index 00000000..887f592c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql
new file mode 100644
index 00000000..3e59e458
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..9103a069
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..ab6b7a03
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..8dd869d3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_prices_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql
new file mode 100644
index 00000000..484efe96
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..3b6ae9b6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..110e1869
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_prices_hourly_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql
new file mode 100644
index 00000000..7871b359
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql
@@ -0,0 +1,59 @@
+WITH bought AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+
+ synth_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+),
+sold AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+ -1 *
+ amount_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ bought
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ sold
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql
new file mode 100644
index 00000000..581e1818
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_markets_arbitrum_sepolia.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ synth_market_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ synth_token_address AS token_address
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql
new file mode 100644
index 00000000..41d3b40a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql
@@ -0,0 +1,47 @@
+WITH wraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ amount_wrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+),
+unwraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+ -1 *
+ amount_unwrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ wraps
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ unwraps
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql
new file mode 100644
index 00000000..53a922b1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql
@@ -0,0 +1,75 @@
+WITH wrapper AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount_wrapped AS change_amount
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+),
+atomics AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount AS change_amount
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+ UNION ALL
+ SELECT
+ ts,
+ block_number,
+ 0 AS synth_market_id,
+ amount * price * -1 AS change_amount
+ FROM
+ "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+),
+usd_changes AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+ UNION ALL
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+ -1 *
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+),
+all_changes AS (
+ SELECT
+ *
+ FROM
+ wrapper
+ UNION ALL
+ SELECT
+ *
+ FROM
+ atomics
+ UNION ALL
+ SELECT
+ *
+ FROM
+ usd_changes
+)
+SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ SUM(change_amount) over (
+ PARTITION BY synth_market_id
+ ORDER BY
+ ts,
+ block_number
+ ) AS supply
+FROM
+ all_changes
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql
new file mode 100644
index 00000000..073f526a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql
new file mode 100644
index 00000000..430a14a6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql
new file mode 100644
index 00000000..d947f2c8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql
new file mode 100644
index 00000000..ad83e2b4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..f3d66e31
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..ce43f263
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..2c434d7e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..f5ecd8ba
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql
new file mode 100644
index 00000000..e35fadfb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..fde0a453
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..ff6b7c48
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql
new file mode 100644
index 00000000..08bc026a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..856d523d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql
new file mode 100644
index 00000000..768cbef3
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..7bb571eb
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql
new file mode 100644
index 00000000..9ad444e4
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_markets_arbitrum_sepolia"
+where token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql
new file mode 100644
index 00000000..ec9cc968
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_wrapped
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+where amount_wrapped is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..93adb3a9
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..7753107e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..4dd77c53
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..e383e2de
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql
new file mode 100644
index 00000000..24126f0b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..0ee39650
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql
new file mode 100644
index 00000000..06086479
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select supply
+from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia"
+where supply is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..1da3e6ac
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..70c2d61b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_arbitrum_sepolia"."fct_synth_supply_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..6d0def49
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_atomics_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_sepolia_id.sql b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..def76a01
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_arbitrum_sepolia"."fct_spot_wrapper_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql
new file mode 100644
index 00000000..f30e933b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_base_mainnet.sql
@@ -0,0 +1,17 @@
+SELECT
+ id,
+ block_timestamp AS ts,
+ buyer,
+
+ snx / 1e18
+ AS snx,
+
+ usd / 1e18
+ AS usd,
+ (
+ usd / 1e18
+) / (
+ snx / 1e18
+) AS snx_price
+FROM
+ "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql
new file mode 100644
index 00000000..6204522d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql
@@ -0,0 +1,27 @@
+WITH agg AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ SUM(snx) AS snx_amount,
+ SUM(usd) AS usd_amount
+ FROM
+ "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+ GROUP BY
+ 1
+) -- add cumulative amounts
+SELECT
+ ts,
+ snx_amount,
+ usd_amount,
+ SUM(snx_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_snx_amount,
+ SUM(usd_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_usd_amount
+FROM
+ agg
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql
new file mode 100644
index 00000000..48c227c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql
@@ -0,0 +1,27 @@
+WITH agg AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ SUM(snx) AS snx_amount,
+ SUM(usd) AS usd_amount
+ FROM
+ "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+ GROUP BY
+ 1
+) -- add cumulative amounts
+SELECT
+ ts,
+ snx_amount,
+ usd_amount,
+ SUM(snx_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_snx_amount,
+ SUM(usd_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_usd_amount
+FROM
+ agg
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql
new file mode 100644
index 00000000..eb455215
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql
new file mode 100644
index 00000000..1eed88b3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql
new file mode 100644
index 00000000..1bcfd137
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx_price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql
new file mode 100644
index 00000000..fb143b74
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql
new file mode 100644
index 00000000..a97e148d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql
new file mode 100644
index 00000000..70abb0d0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql
new file mode 100644
index 00000000..675b0411
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql
new file mode 100644
index 00000000..00e7f882
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql
new file mode 100644
index 00000000..b6400b94
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql
new file mode 100644
index 00000000..b2326368
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql
new file mode 100644
index 00000000..efe69eea
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql
new file mode 100644
index 00000000..c1609790
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select buyer
+from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+where buyer is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql
new file mode 100644
index 00000000..f7ba6c05
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql
new file mode 100644
index 00000000..023a8f89
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx
+from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+where snx is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql
new file mode 100644
index 00000000..82565332
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx_price
+from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+where snx_price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql
new file mode 100644
index 00000000..75468468
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql
new file mode 100644
index 00000000..d9cad6ef
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd
+from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+where usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql
new file mode 100644
index 00000000..df0720cf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_snx_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+where cumulative_snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql
new file mode 100644
index 00000000..153594eb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_usd_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+where cumulative_usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql
new file mode 100644
index 00000000..68e07b1e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+where snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql
new file mode 100644
index 00000000..1788515e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql
new file mode 100644
index 00000000..f41db7a6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_daily_base_mainnet"
+where usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql
new file mode 100644
index 00000000..fd9ec1ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_snx_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+where cumulative_snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql
new file mode 100644
index 00000000..399df4c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_usd_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+where cumulative_usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql
new file mode 100644
index 00000000..a80e0b7a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+where snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql
new file mode 100644
index 00000000..452866ac
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql
new file mode 100644
index 00000000..eee57904
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd_amount
+from "analytics"."prod_base_mainnet"."fct_buyback_hourly_base_mainnet"
+where usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_base_mainnet_id.sql
new file mode 100644
index 00000000..bdbc56ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql
new file mode 100644
index 00000000..94739c69
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql
@@ -0,0 +1,58 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated,
+ ROW_NUMBER() over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp DESC
+ ) AS rn
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ CAST(
+ account_id AS text
+ ) AS account_id,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+WHERE
+ rn = 1
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql
new file mode 100644
index 00000000..9ac80eb7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql
@@ -0,0 +1,209 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_pnl,
+ hourly_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct,
+ SUM(
+ COALESCE(
+ hourly_issuance,
+ 0
+ )
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_issuance,
+ SUM(
+ hourly_pnl
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_pnl
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_pnl_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_total_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.debt AS debt,
+ pnl_hourly.hourly_pnl AS hourly_pnl,
+ pnl_hourly.cumulative_pnl AS cumulative_pnl,
+ pnl_hourly.hourly_issuance AS hourly_issuance,
+ pnl_hourly.cumulative_issuance AS cumulative_issuance,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ -- total pnls
+ avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,
+ avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,
+ avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,
+ -- pool pnls
+ avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,
+ avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,
+ avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,
+ -- rewards pnls
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,
+ (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,
+ (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,
+ (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,
+ (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,
+ (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ cumulative_pnl,
+ cumulative_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ apr_24h,
+ apy_24h,
+ apr_7d,
+ apy_7d,
+ apr_28d,
+ apy_28d,
+ apr_24h_pnl,
+ apy_24h_pnl,
+ apr_7d_pnl,
+ apy_7d_pnl,
+ apr_28d_pnl,
+ apy_28d_pnl,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql
new file mode 100644
index 00000000..f4c3c502
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql
@@ -0,0 +1,100 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_reward_base_mainnet"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.reward_token AS reward_token,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+ AND pnl_hourly.reward_token = avg_returns.reward_token
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql
new file mode 100644
index 00000000..9aaf3b7a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql
@@ -0,0 +1,35 @@
+WITH market_updated AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+)
+SELECT
+ id,
+ block_timestamp AS ts,
+ transaction_hash,
+ event_name,
+ market_id,
+ collateral_type,
+
+ credit_capacity / 1e18
+ AS credit_capacity,
+
+ net_issuance / 1e18
+ AS net_issuance,
+
+ token_amount / 1e18
+ AS token_amount
+FROM
+ market_updated
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql
new file mode 100644
index 00000000..fea3f1a9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql
@@ -0,0 +1,39 @@
+WITH events AS (
+ SELECT
+ block_timestamp,
+
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+ UNION ALL
+ SELECT
+ block_timestamp,-
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+),
+ranked_events AS (
+ SELECT
+ *,
+ SUM(token_amount) over (
+ PARTITION BY collateral_type
+ ORDER BY
+ block_timestamp rows BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS amount_deposited
+ FROM
+ events
+)
+SELECT
+ block_timestamp AS ts,
+ collateral_type,
+ amount_deposited
+FROM
+ ranked_events
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql
new file mode 100644
index 00000000..9eb60ecc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql
@@ -0,0 +1,44 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql
new file mode 100644
index 00000000..808b8dea
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pools_base_mainnet.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ pool_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ owner
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql
new file mode 100644
index 00000000..c623dc32
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql
@@ -0,0 +1,10 @@
+SELECT
+ ts,
+ block_number,
+ contract_address,
+ pool_id,
+ collateral_type,
+ amount,
+ collateral_value
+FROM
+ "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql
new file mode 100644
index 00000000..2713fad8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_debt_base_mainnet.sql
@@ -0,0 +1,10 @@
+SELECT
+ ts,
+ block_number,
+ pool_id,
+ collateral_type,
+ debt
+FROM
+ "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql
new file mode 100644
index 00000000..309c7bfd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql
@@ -0,0 +1,43 @@
+WITH burns AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+ -1 *
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+ ORDER BY
+ block_timestamp DESC
+),
+mints AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+ ORDER BY
+ block_timestamp DESC
+)
+SELECT
+ *
+FROM
+ burns
+UNION ALL
+SELECT
+ *
+FROM
+ mints
+ORDER BY
+ ts DESC
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql
new file mode 100644
index 00000000..de4fdaa3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql
@@ -0,0 +1,110 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+max_debt_block AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS HOUR,
+ pool_id,
+ collateral_type,
+ MAX(block_number) AS max_block_number
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+ GROUP BY
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+),
+filt_issuance AS (
+ SELECT
+ CASE
+ WHEN i.block_number <= d.max_block_number
+ OR d.max_block_number IS NULL THEN i.ts
+ ELSE i.ts + INTERVAL '1 hour'
+ END AS ts,
+ i.pool_id,
+ i.collateral_type,
+ i.amount
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+ i
+ LEFT JOIN max_debt_block d
+ ON DATE_TRUNC(
+ 'hour',
+ i.ts
+ ) = d.hour
+ AND i.pool_id = d.pool_id
+ AND LOWER(
+ i.collateral_type
+ ) = LOWER(
+ d.collateral_type
+ )
+ WHERE
+ i.block_number <= (
+ SELECT
+ MAX(
+ max_block_number
+ )
+ FROM
+ max_debt_block
+ )
+),
+issuance AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ SUM(amount) AS hourly_issuance
+ FROM
+ filt_issuance
+ GROUP BY
+ 1,
+ 2,
+ 3
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ COALESCE(
+ i.hourly_issuance,
+ 0
+ ) AS hourly_issuance
+FROM
+ dim
+ LEFT JOIN issuance i
+ ON dim.pool_id = i.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ i.collateral_type
+ )
+ AND dim.ts = i.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql
new file mode 100644
index 00000000..6346c974
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql
@@ -0,0 +1,210 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ p.pool_id,
+ p.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+ ) AS p
+GROUP BY
+ p.pool_id,
+ p.collateral_type
+),
+issuance AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ hourly_issuance
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet"
+),
+debt AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS debt
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+),
+collateral AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS collateral_value
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+ WHERE
+ pool_id = 1
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ debt.debt,
+ collateral.collateral_value,
+ SUM(
+ CASE
+ WHEN debt.debt IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS debt_id,
+ SUM(
+ CASE
+ WHEN collateral.collateral_value IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS collateral_id
+ FROM
+ dim
+ LEFT JOIN debt
+ ON dim.ts = debt.ts
+ AND dim.pool_id = debt.pool_id
+ AND dim.collateral_type = debt.collateral_type
+ LEFT JOIN collateral
+ ON dim.ts = collateral.ts
+ AND dim.pool_id = collateral.pool_id
+ AND dim.collateral_type = collateral.collateral_type
+),
+hourly_index AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ FIRST_VALUE(COALESCE(debt, 0)) over (
+ PARTITION BY debt_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS debt,
+ FIRST_VALUE(COALESCE(collateral_value, 0)) over (
+ PARTITION BY collateral_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS collateral_value
+ FROM
+ ffill
+),
+hourly_pnl AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type
+ ORDER BY
+ ts) - debt, 0) AS hourly_pnl
+ FROM
+ hourly_index
+),
+hourly_rewards AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet"
+),
+hourly_returns AS (
+ SELECT
+ pnl.ts,
+ pnl.pool_id,
+ pnl.collateral_type,
+ pnl.collateral_value,
+ pnl.debt,
+ COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) hourly_issuance,
+ pnl.hourly_pnl + COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) AS hourly_pnl,
+ COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) / pnl.collateral_value
+ END AS hourly_rewards_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value
+ END AS hourly_pnl_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value
+ END AS hourly_total_pct
+ FROM
+ hourly_pnl pnl
+ LEFT JOIN hourly_rewards rewards
+ ON pnl.ts = rewards.ts
+ AND pnl.pool_id = rewards.pool_id
+ AND pnl.collateral_type = rewards.collateral_type
+ LEFT JOIN issuance iss
+ ON pnl.ts = iss.ts
+ AND pnl.pool_id = iss.pool_id
+ AND LOWER(
+ pnl.collateral_type
+ ) = LOWER(
+ iss.collateral_type
+ )
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct
+FROM
+ hourly_returns
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql
new file mode 100644
index 00000000..a38f901a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql
@@ -0,0 +1,78 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol AS reward_token
+ FROM
+ (
+ SELECT
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT token_symbol
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+ ) AS p
+ GROUP BY
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol
+),
+reward_hourly_token AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol AS reward_token,
+ SUM(
+ rewards_usd
+ ) AS rewards_usd
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+ GROUP BY
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ dim.collateral_value,
+ dim.reward_token,
+ COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN dim.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) / dim.collateral_value
+ END AS hourly_rewards_pct
+FROM
+ dim
+ LEFT JOIN reward_hourly_token
+ ON dim.ts = reward_hourly_token.ts
+ AND dim.pool_id = reward_hourly_token.pool_id
+ AND dim.collateral_type = reward_hourly_token.collateral_type
+ and dim.reward_token = reward_hourly_token.reward_token
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql
new file mode 100644
index 00000000..1aa87e95
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql
@@ -0,0 +1,37 @@
+WITH rewards_distributed AS (
+ SELECT
+ block_timestamp AS ts,
+ CAST(
+ pool_id AS INTEGER
+ ) AS pool_id,
+ collateral_type,
+ distributor,
+
+ amount / 1e18
+ AS amount,
+ TO_TIMESTAMP("start") AS ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+),
+distributors AS (
+ SELECT
+ CAST(distributor_address AS TEXT) AS distributor_address,
+ CAST(token_symbol AS TEXT) AS token_symbol
+ FROM
+ "analytics"."prod_seeds"."base_mainnet_reward_distributors"
+)
+SELECT
+ rd.ts,
+ rd.pool_id,
+ rd.collateral_type,
+ rd.distributor,
+ distributors.token_symbol,
+ rd.amount,
+ rd.ts_start,
+ rd.duration
+FROM
+ rewards_distributed rd
+ join distributors on rd.distributor = distributors.distributor_address
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql
new file mode 100644
index 00000000..9d84db08
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql
@@ -0,0 +1,20 @@
+WITH token_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ SUM(rewards_usd) AS rewards_usd
+FROM
+ token_hourly
+GROUP BY
+ ts,
+ pool_id,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql
new file mode 100644
index 00000000..4c22420e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql
@@ -0,0 +1,113 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+rewards_distributed AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount,
+ ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+),
+hourly_distributions AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor,
+ r.token_symbol,
+ r.amount,
+ r.ts_start,
+ r."duration",
+ ROW_NUMBER() over (
+ PARTITION BY dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor
+ ORDER BY
+ r.ts_start DESC
+ ) AS distributor_index
+ FROM
+ dim
+ LEFT JOIN rewards_distributed r
+ ON dim.pool_id = r.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ r.collateral_type
+ )
+ AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start
+ AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL
+),
+hourly_rewards AS (
+ SELECT
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ p.price,
+ -- get the hourly amount distributed
+ d.amount / (
+ d."duration" / 3600
+ ) AS hourly_amount,
+ -- get the amount of time distributed this hour
+ -- use the smaller of those two intervals
+ -- convert the interval to a number of hours
+ -- multiply the result by the hourly amount to get the amount distributed this hour
+ (
+ EXTRACT(
+ epoch
+ FROM
+ LEAST(
+ d."duration" / 3600 * '1 hour' :: INTERVAL,
+ d.ts + '1 hour' :: INTERVAL - GREATEST(
+ d.ts,
+ d.ts_start
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) AS amount_distributed
+ FROM
+ hourly_distributions AS d
+ LEFT JOIN "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet"
+ p
+ ON d.ts = p.ts
+ AND d.token_symbol = p.market_symbol
+ WHERE
+ d.distributor_index = 1
+)
+SELECT
+ *,
+ amount_distributed * price AS rewards_usd
+FROM
+ hourly_rewards
+WHERE
+ amount_distributed IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql
new file mode 100644
index 00000000..03969eb0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql
new file mode 100644
index 00000000..51673b4b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql
new file mode 100644
index 00000000..5bc0617b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql
new file mode 100644
index 00000000..75104247
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql
new file mode 100644
index 00000000..b4d0ee98
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql
new file mode 100644
index 00000000..c2e86297
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_delegated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql
new file mode 100644
index 00000000..bf03723e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql
new file mode 100644
index 00000000..7d678481
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql
new file mode 100644
index 00000000..ff64ea54
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql
new file mode 100644
index 00000000..d80db44e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql
new file mode 100644
index 00000000..f91e0202
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql
new file mode 100644
index 00000000..ab9ed5b1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql
new file mode 100644
index 00000000..7dcd3103
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql
new file mode 100644
index 00000000..2799832c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql
new file mode 100644
index 00000000..8f9a221e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql
new file mode 100644
index 00000000..3c6fbcb8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql
new file mode 100644
index 00000000..273bc17e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_distributed >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql
new file mode 100644
index 00000000..fdb1c2c5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql
new file mode 100644
index 00000000..57ce3b5e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql
new file mode 100644
index 00000000..270f4762
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql
new file mode 100644
index 00000000..5e033de6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql
new file mode 100644
index 00000000..288e5bf7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql
new file mode 100644
index 00000000..09a385c2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql
new file mode 100644
index 00000000..4f2f6cbc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql
new file mode 100644
index 00000000..2f19791c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql
new file mode 100644
index 00000000..a7766fe5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql
new file mode 100644
index 00000000..141e5975
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql
new file mode 100644
index 00000000..16f8dd12
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql
new file mode 100644
index 00000000..90373540
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql
new file mode 100644
index 00000000..7b5db820
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql
new file mode 100644
index 00000000..6afcc33a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delegated
+from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet"
+where amount_delegated is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql
new file mode 100644
index 00000000..acb350cd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..80a0e892
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql
new file mode 100644
index 00000000..acee339a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_core_account_delegation_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql
new file mode 100644
index 00000000..cccf6702
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_24h
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where apr_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql
new file mode 100644
index 00000000..72039182
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_28d
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where apr_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql
new file mode 100644
index 00000000..d61e2dcd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_7d
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where apr_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql
new file mode 100644
index 00000000..839c5c42
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_24h
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where apy_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql
new file mode 100644
index 00000000..af0976a8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_28d
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where apy_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql
new file mode 100644
index 00000000..2ff371c1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_7d
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where apy_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..087a95a9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql
new file mode 100644
index 00000000..d8fe29ad
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql
new file mode 100644
index 00000000..f420b7fd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_issuance
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where cumulative_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql
new file mode 100644
index 00000000..67b0308f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_pnl
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where cumulative_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql
new file mode 100644
index 00000000..3b7901e0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..c5e8e011
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql
new file mode 100644
index 00000000..2bde7757
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql
new file mode 100644
index 00000000..f51cb146
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql
new file mode 100644
index 00000000..6bdd8293
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..58884bfa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..37816dd8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql
new file mode 100644
index 00000000..1901dfb4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_core_apr_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..4831b66f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql
new file mode 100644
index 00000000..ddcd099c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql
new file mode 100644
index 00000000..2d95166b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..0796d469
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql
new file mode 100644
index 00000000..8c91d2b6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql
new file mode 100644
index 00000000..d697a268
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql
new file mode 100644
index 00000000..90db8ea9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..e0e780be
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql
new file mode 100644
index 00000000..e2167b8d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql
new file mode 100644
index 00000000..b0b29fe7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_deposited
+from "analytics"."prod_base_mainnet"."fct_core_pool_collateral_base_mainnet"
+where amount_deposited is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..6d471dbb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_core_pool_collateral_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql
new file mode 100644
index 00000000..07538488
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_core_pool_collateral_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..83c38f76
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..9a387898
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql
new file mode 100644
index 00000000..b311b93f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_core_pool_delegation_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql
new file mode 100644
index 00000000..6df1c5a6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql
new file mode 100644
index 00000000..94d32f3c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql
new file mode 100644
index 00000000..08c4a318
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql
new file mode 100644
index 00000000..1017a816
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_base_mainnet"."fct_core_pools_base_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql
new file mode 100644
index 00000000..1a5ebff4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql
new file mode 100644
index 00000000..21b98b1c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql
new file mode 100644
index 00000000..8c8f20ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql
new file mode 100644
index 00000000..e557551c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..700bfecb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..68be1711
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql
new file mode 100644
index 00000000..6a5b3894
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_core_vault_collateral_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql
new file mode 100644
index 00000000..ac7d7c9b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..6f36ccd2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql
new file mode 100644
index 00000000..f8a18e7b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..a295cb7b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql
new file mode 100644
index 00000000..230fbbba
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_debt_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql
new file mode 100644
index 00000000..f6cd160c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql
new file mode 100644
index 00000000..6cb835f9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql
new file mode 100644
index 00000000..6cbb98b9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..a0a4970b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..7a550990
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..c287ba72
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql
new file mode 100644
index 00000000..48bb91cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..fdd3d025
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..581e04ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..c986f16b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql
new file mode 100644
index 00000000..6203c746
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_issuance_hourly_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..ff7fceb6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql
new file mode 100644
index 00000000..9ddc2432
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql
new file mode 100644
index 00000000..091383b0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..d956f6a3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql
new file mode 100644
index 00000000..e1330e6a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql
new file mode 100644
index 00000000..99a6914f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql
new file mode 100644
index 00000000..d4f280fc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql
new file mode 100644
index 00000000..11892cf3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_total_pct
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where hourly_total_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..c6541a54
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..9e01a318
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql
new file mode 100644
index 00000000..cf06467b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_pnl_hourly_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql
new file mode 100644
index 00000000..09b13f45
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..ddf2f20b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql
new file mode 100644
index 00000000..5cff74da
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..ad7957d3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql
new file mode 100644
index 00000000..5e9dd212
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql
new file mode 100644
index 00000000..183d54ad
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..8d18786e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..37fd4481
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..ca98c4de
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql
new file mode 100644
index 00000000..64a9ef94
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_hourly_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql
new file mode 100644
index 00000000..1e27d74e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_amount
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where hourly_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql
new file mode 100644
index 00000000..37f96a4b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_distributed
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where amount_distributed is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql
new file mode 100644
index 00000000..178ccb11
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql
new file mode 100644
index 00000000..cf441cbf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql
new file mode 100644
index 00000000..0f8d41ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..579d40ef
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql
new file mode 100644
index 00000000..2cdff559
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..87f2552e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql
new file mode 100644
index 00000000..3e1a4a33
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_pool_rewards_token_hourly_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_core_market_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..965329e7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_core_market_updated_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_core_market_updated_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql
new file mode 100644
index 00000000..853aeadb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql
@@ -0,0 +1,14 @@
+WITH base AS (
+ SELECT
+ CAST(
+ account_id AS VARCHAR
+ ) AS id,
+ block_timestamp AS created_ts,
+ "owner"
+ FROM
+ "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql
new file mode 100644
index 00000000..4a1dfb95
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_collateral_modified_base_mainnet.sql
@@ -0,0 +1,15 @@
+SELECT
+ id,
+ block_timestamp,
+ account_id,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ synth_market_id,
+ sender,
+
+ amount_delta / 1e18
+ AS amount_delta
+FROM
+ "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql
new file mode 100644
index 00000000..33789660
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_interest_charged_base_mainnet.sql
@@ -0,0 +1,13 @@
+SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ account_id,
+
+ interest / 1e18
+ AS interest
+FROM
+ "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql
new file mode 100644
index 00000000..1f31f965
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql
@@ -0,0 +1,56 @@
+WITH liquidation_events AS (
+ SELECT
+ account_id,
+ reward,
+ block_timestamp,
+ full_liquidation,
+ SUM(
+ CASE
+ WHEN full_liquidation THEN 1
+ ELSE 0
+ END
+ ) over (
+ PARTITION BY account_id
+ ORDER BY
+ block_timestamp rows BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS liquidation_id
+ FROM
+ "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+),
+cumulative_rewards AS (
+ SELECT
+ CAST(
+ le.account_id AS text
+ ) AS account_id,
+ le.block_timestamp,
+ le.reward,
+ le.full_liquidation,
+ le.liquidation_id,
+ SUM(
+ reward / 1e18
+) over (
+ PARTITION BY le.account_id,
+ le.liquidation_id
+ ORDER BY
+ le.block_timestamp
+ ) AS cumulative_reward,
+ ROW_NUMBER() over (
+ PARTITION BY le.account_id,
+ le.liquidation_id
+ ORDER BY
+ le.block_timestamp DESC
+ ) AS rn
+ FROM
+ liquidation_events le
+ ORDER BY
+ block_timestamp
+)
+SELECT
+ account_id,
+ block_timestamp AS ts,
+ cumulative_reward AS total_reward
+FROM
+ cumulative_rewards
+WHERE
+ rn = 1
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql
new file mode 100644
index 00000000..cc7d0ea5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql
@@ -0,0 +1,40 @@
+WITH liquidations AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ account_id,
+ market_id,
+
+ amount_liquidated / 1e18
+ AS amount_liquidated,
+
+ current_position_size / 1e18
+ AS position_size
+ FROM
+ "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+),
+markets AS (
+ SELECT
+ id,
+ market_symbol
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+)
+SELECT
+ l.id,
+ l.ts,
+ l.block_number,
+ l.transaction_hash,
+ CAST(
+ l.account_id AS text
+ ) AS account_id,
+ l.market_id,
+ m.market_symbol,
+ l.amount_liquidated,
+ l.position_size
+FROM
+ liquidations l
+ LEFT JOIN markets m
+ ON l.market_id = m.id
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql
new file mode 100644
index 00000000..939c260f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql
@@ -0,0 +1,72 @@
+WITH base AS (
+ SELECT
+ mu.id,
+ mu.block_timestamp AS ts,
+ mu.block_number,
+ mu.transaction_hash,
+ m.id AS market_id,
+ m.market_symbol,
+
+ price / 1e18
+ AS price,
+
+ skew / 1e18
+ AS skew,
+
+ size / 1e18
+ AS SIZE,
+
+ size_delta / 1e18
+ AS size_delta,
+
+ current_funding_rate / 1e18
+ AS funding_rate,
+
+ current_funding_velocity / 1e18
+ AS funding_velocity,
+
+ interest_rate / 1e18
+ AS interest_rate,
+
+ current_funding_rate / 1e18
+ * 365.25 AS funding_rate_apr,
+
+ current_funding_rate / 1e18
+ * 365.25 +
+ interest_rate / 1e18
+ AS long_rate_apr,
+
+ current_funding_rate / 1e18
+ * -1 * 365.25 +
+ interest_rate / 1e18
+ AS short_rate_apr
+ FROM
+ "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+ mu
+ LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+ m
+ ON mu.market_id = m.id
+)
+SELECT
+ *,
+ SIZE * price AS size_usd,
+ (
+ SIZE + skew
+ ) * price / 2 AS long_oi,
+ (
+ SIZE - skew
+ ) * price / 2 AS short_oi,
+ CASE
+ WHEN SIZE * price = 0 THEN NULL
+ ELSE ((SIZE + skew) * price / 2) / (
+ SIZE * price
+ )
+ END AS long_oi_pct,
+ CASE
+ WHEN SIZE * price = 0 THEN NULL
+ ELSE ((SIZE - skew) * price / 2) / (
+ SIZE * price
+ )
+ END AS short_oi_pct
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql
new file mode 100644
index 00000000..44596ac1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_markets_base_mainnet.sql
@@ -0,0 +1,14 @@
+WITH base AS (
+ SELECT
+ perps_market_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ market_symbol,
+ market_name
+ FROM
+ "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql
new file mode 100644
index 00000000..655ebf94
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_orders_base_mainnet.sql
@@ -0,0 +1,46 @@
+WITH base AS (
+ SELECT
+ oc.id,
+ oc.block_timestamp AS ts,
+ oc.block_number,
+ oc.transaction_hash,
+ oc.contract,
+ oc.market_id,
+ markets.market_symbol,
+ CAST(
+ oc.account_id AS text
+ ) AS account_id,
+ oc.order_type,
+
+ oc.size_delta / 1e18
+ AS SIZE,
+
+ oc.acceptable_price / 1e18
+ AS acceptable_price,
+ oc.settlement_time,
+ oc.expiration_time,
+
+ LEFT(
+ REGEXP_REPLACE(
+ encode(
+ DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),
+ 'escape'
+ ) :: text,
+ '\\000',
+ '',
+ 'g'
+ ),
+ 20
+ )
+ AS tracking_code,
+ oc.sender
+ FROM
+ "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+ oc
+ LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" AS markets
+ ON oc.market_id = markets.id
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql
new file mode 100644
index 00000000..8ea899eb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql
@@ -0,0 +1,17 @@
+
+WITH debt AS (
+ SELECT
+ ts,
+ 2 AS market_id,
+ debt * -1 AS market_pnl
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+)
+SELECT
+ ts,
+ market_id,
+ market_pnl
+FROM
+ debt
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql
new file mode 100644
index 00000000..06b64957
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_previous_order_expired_base_mainnet.sql
@@ -0,0 +1,19 @@
+SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ account_id,
+ commitment_time,
+ tracking_code,
+
+ acceptable_price / 1e18
+ AS acceptable_price,
+
+ size_delta / 1e18
+ AS size_delta
+FROM
+ "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql
new file mode 100644
index 00000000..edaf80fb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql
@@ -0,0 +1,69 @@
+WITH base AS (
+ SELECT
+ pos.id,
+ pos.block_timestamp AS ts,
+ pos.block_number,
+ pos.transaction_hash,
+ pos.contract,
+ pos.market_id,
+ markets.market_symbol,
+ CAST(
+ pos.account_id AS text
+ ) AS account_id,
+
+ fill_price / 1e18
+ AS fill_price,
+
+ pnl / 1e18
+ AS pnl,
+
+ accrued_funding / 1e18
+ AS accrued_funding,
+
+ size_delta / 1e18
+ AS trade_size,
+
+ new_size / 1e18
+ AS position_size,
+
+ total_fees / 1e18
+ AS total_fees,
+
+ referral_fees / 1e18
+ AS referral_fees,
+
+ collected_fees / 1e18
+ AS collected_fees,
+
+ settlement_reward / 1e18
+ AS settlement_reward,
+
+ LEFT(
+ REGEXP_REPLACE(
+ encode(
+ DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),
+ 'escape'
+ ) :: text,
+ '\\000',
+ '',
+ 'g'
+ ),
+ 20
+ )
+ AS tracking_code,
+ pos.settler
+ FROM
+ "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet" AS pos
+ LEFT JOIN "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet" AS markets
+ ON pos.market_id = markets.id
+)
+SELECT
+ *,
+ ABS(
+ fill_price * trade_size
+ ) AS notional_trade_size,
+ fill_price * position_size AS notional_position_size,
+ total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,
+ total_fees - settlement_reward AS exchange_fees
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql
new file mode 100644
index 00000000..8d0ccfe4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql
new file mode 100644
index 00000000..c70ed2fc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql
new file mode 100644
index 00000000..c1aaa09f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql
new file mode 100644
index 00000000..a4084d4b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql
new file mode 100644
index 00000000..b716da01
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql
new file mode 100644
index 00000000..09d4f7fd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not settlement_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql
new file mode 100644
index 00000000..06d13c7e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not interest >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql
new file mode 100644
index 00000000..44cf893a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_pnl_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql
new file mode 100644
index 00000000..e41ba75d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql
new file mode 100644
index 00000000..ec5182c7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not referral_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql
new file mode 100644
index 00000000..14f68038
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql
new file mode 100644
index 00000000..3590faa5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not total_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql
new file mode 100644
index 00000000..1538532a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql
new file mode 100644
index 00000000..d5637ef2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not lp_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql
new file mode 100644
index 00000000..e01dfc30
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql
new file mode 100644
index 00000000..4d15dfb5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not total_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql
new file mode 100644
index 00000000..38663d61
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql
new file mode 100644
index 00000000..00f8e8e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql
new file mode 100644
index 00000000..2fc12a1e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql
new file mode 100644
index 00000000..7cee146e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql
new file mode 100644
index 00000000..629d79f9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not exchange_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql
new file mode 100644
index 00000000..f6e3ddcd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fill_price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql
new file mode 100644
index 00000000..4a78fa97
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql
new file mode 100644
index 00000000..538b873f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql
new file mode 100644
index 00000000..264ed2b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql
new file mode 100644
index 00000000..1c02a12c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql
new file mode 100644
index 00000000..6b6ed098
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql
new file mode 100644
index 00000000..767366c7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql
new file mode 100644
index 00000000..5b552f81
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql
new file mode 100644
index 00000000..994d0833
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql
new file mode 100644
index 00000000..c2d3e25b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql
new file mode 100644
index 00000000..4064060f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql
new file mode 100644
index 00000000..a1843fbd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql
new file mode 100644
index 00000000..78e4c477
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql
new file mode 100644
index 00000000..14afa397
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql
new file mode 100644
index 00000000..e566144b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql
new file mode 100644
index 00000000..ca3e0652
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql
new file mode 100644
index 00000000..a9c0767d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..a561c18f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql
new file mode 100644
index 00000000..6a3af1a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql
new file mode 100644
index 00000000..eb875312
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql
new file mode 100644
index 00000000..7ff2aa6d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql
new file mode 100644
index 00000000..f1a9bdc8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where interest is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql
new file mode 100644
index 00000000..0f5c312e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql
new file mode 100644
index 00000000..6f1c3d34
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_reward
+from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet"
+where total_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql
new file mode 100644
index 00000000..0d1690e3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql
new file mode 100644
index 00000000..60732263
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql
new file mode 100644
index 00000000..227d5887
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql
new file mode 100644
index 00000000..ecf5a79d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql
new file mode 100644
index 00000000..b8449f83
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql
new file mode 100644
index 00000000..d9f69cc4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..4630be9a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql
new file mode 100644
index 00000000..4820ec77
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..491f0df6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql
new file mode 100644
index 00000000..98a8f9eb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql
new file mode 100644
index 00000000..2a831370
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql
new file mode 100644
index 00000000..81a9520e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where funding_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql
new file mode 100644
index 00000000..d9ee0e42
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate_apr
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where funding_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql
new file mode 100644
index 00000000..c8dbdc83
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_velocity
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where funding_velocity is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql
new file mode 100644
index 00000000..94fe90d8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql
new file mode 100644
index 00000000..82789397
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql
new file mode 100644
index 00000000..a3ebe028
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_rate_apr
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where long_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql
new file mode 100644
index 00000000..1fcfba7d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..20d349b4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql
new file mode 100644
index 00000000..94df13c8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql
new file mode 100644
index 00000000..301f4340
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_rate_apr
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where short_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql
new file mode 100644
index 00000000..29f2b510
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql
new file mode 100644
index 00000000..7213448d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size_delta
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where size_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql
new file mode 100644
index 00000000..b93247ac
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size_usd
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where size_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql
new file mode 100644
index 00000000..506b1b62
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select skew
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where skew is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..ce390ba0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql
new file mode 100644
index 00000000..1d13bc89
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql
new file mode 100644
index 00000000..db52b4cf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql
new file mode 100644
index 00000000..8acf722a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql
new file mode 100644
index 00000000..0947c62b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql
new file mode 100644
index 00000000..d5a8254a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..e1d1bf8b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql
new file mode 100644
index 00000000..9aeadd7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql
new file mode 100644
index 00000000..7a7cf93f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql
new file mode 100644
index 00000000..e1bd15db
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql
new file mode 100644
index 00000000..6deb0a1a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql
new file mode 100644
index 00000000..bf00f79a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..59c8b7a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..e491c9e9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql
new file mode 100644
index 00000000..0bd0b49c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql
new file mode 100644
index 00000000..f454cdc3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_mainnet"."fct_perp_pnl_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql
new file mode 100644
index 00000000..10f0020a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_pnl_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql
new file mode 100644
index 00000000..f77ae32f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql
new file mode 100644
index 00000000..2bc47419
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql
new file mode 100644
index 00000000..a2fb39be
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql
new file mode 100644
index 00000000..9f0602a9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql
new file mode 100644
index 00000000..1831e044
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql
new file mode 100644
index 00000000..4a55cb76
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql
new file mode 100644
index 00000000..30a0592b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql
new file mode 100644
index 00000000..29db4789
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql
new file mode 100644
index 00000000..9790f929
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql
new file mode 100644
index 00000000..5bbc96aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select accrued_funding
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where accrued_funding is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql
new file mode 100644
index 00000000..4fa75dae
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql
new file mode 100644
index 00000000..f51e7eb3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql
new file mode 100644
index 00000000..8592e53c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql
new file mode 100644
index 00000000..f2f451b6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select exchange_fees
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where exchange_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql
new file mode 100644
index 00000000..414cb781
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fill_price
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where fill_price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql
new file mode 100644
index 00000000..4a2f25aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql
new file mode 100644
index 00000000..b738aee5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select lp_fees
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where lp_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql
new file mode 100644
index 00000000..f003ecec
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..ea355ae7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql
new file mode 100644
index 00000000..001ff430
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_position_size
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where notional_position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql
new file mode 100644
index 00000000..e81d6a18
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_trade_size
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where notional_trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql
new file mode 100644
index 00000000..0b9ff6aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pnl
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql
new file mode 100644
index 00000000..386e9285
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql
new file mode 100644
index 00000000..91fbe22f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referral_fees
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where referral_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql
new file mode 100644
index 00000000..d0cabc8c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settlement_reward
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where settlement_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql
new file mode 100644
index 00000000..0d92f106
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql
new file mode 100644
index 00000000..b1497c8e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_fees
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where total_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql
new file mode 100644
index 00000000..610bf552
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tracking_code
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where tracking_code is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql
new file mode 100644
index 00000000..cb24b08e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select trade_size
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..6028f0a0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql
new file mode 100644
index 00000000..0f1ae55d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_base_mainnet_id.sql
new file mode 100644
index 00000000..44d229df
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_accounts_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_base_mainnet_id.sql
new file mode 100644
index 00000000..034c0b1a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_collateral_modified_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_collateral_modified_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_base_mainnet_id.sql
new file mode 100644
index 00000000..468d19ef
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_interest_charged_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_base_mainnet_id.sql
new file mode 100644
index 00000000..dc69c894
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_base_mainnet_id.sql
new file mode 100644
index 00000000..33609a56
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_base_mainnet_id.sql
new file mode 100644
index 00000000..340523d1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_orders_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_base_mainnet_id.sql
new file mode 100644
index 00000000..be4c6aa3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_previous_order_expired_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_previous_order_expired_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_base_mainnet_id.sql
new file mode 100644
index 00000000..4cf6733d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql
new file mode 100644
index 00000000..8fd7f284
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql
@@ -0,0 +1,39 @@
+WITH daily AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ account_id,
+ SUM(fees) AS fees,
+ SUM(volume) AS volume,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_account_stats_hourly_base_mainnet"
+ GROUP BY
+ 1,
+ 2
+),
+stats AS (
+ SELECT
+ daily.*,
+ SUM(fees) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts RANGE BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS cumulative_fees,
+ SUM(volume) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts RANGE BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS cumulative_volume
+ FROM
+ daily
+)
+SELECT
+ *
+FROM
+ stats
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql
new file mode 100644
index 00000000..cd451bf3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql
@@ -0,0 +1,108 @@
+WITH trades AS (
+ SELECT
+ ts,
+ account_id,
+ total_fees,
+ notional_trade_size,
+ 1 AS trades,
+ SUM(
+ total_fees
+ ) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts
+ ) AS cumulative_fees,
+ SUM(
+ notional_trade_size
+ ) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts
+ ) AS cumulative_volume
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+liq AS (
+ SELECT
+ ts,
+ account_id,
+ amount_liquidated,
+ 1 AS liquidations
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+),
+inc_trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ account_id,
+ SUM(trades) AS trades,
+ SUM(total_fees) AS fees,
+ SUM(notional_trade_size) AS volume,
+ MAX(cumulative_fees) AS cumulative_fees,
+ MAX(cumulative_volume) AS cumulative_volume
+ FROM
+ trades
+ GROUP BY
+ 1,
+ 2
+),
+inc_liq AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ account_id,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations
+ FROM
+ liq
+ GROUP BY
+ 1,
+ 2
+),
+inc AS (
+ SELECT
+ h.ts,
+ h.account_id,
+ COALESCE(
+ h.trades,
+ 0
+ ) AS trades,
+ COALESCE(
+ h.fees,
+ 0
+ ) AS fees,
+ COALESCE(
+ h.volume,
+ 0
+ ) AS volume,
+ COALESCE(
+ l.amount_liquidated,
+ 0
+ ) AS amount_liquidated,
+ COALESCE(
+ l.liquidations,
+ 0
+ ) AS liquidations,
+ COALESCE(
+ h.cumulative_fees,
+ 0
+ ) AS cumulative_fees,
+ COALESCE(
+ h.cumulative_volume,
+ 0
+ ) AS cumulative_volume
+ FROM
+ inc_trades h
+ LEFT JOIN inc_liq l
+ ON h.ts = l.ts
+ AND h.account_id = l.account_id
+)
+SELECT
+ *
+FROM
+ inc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql
new file mode 100644
index 00000000..b13c6d1f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql
@@ -0,0 +1,40 @@
+WITH hourly AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ keeper,
+ settlement_rewards,
+ amount_settled,
+ trades
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_keeper_stats_hourly_base_mainnet"
+),
+total AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades_total,
+ SUM(settlement_rewards) AS settlement_reward_total,
+ SUM(amount_settled) AS amount_settled_total
+ FROM
+ hourly
+ GROUP BY
+ 1
+)
+SELECT
+ hourly.ts,
+ keeper,
+ SUM(trades) AS trades,
+ SUM(settlement_rewards) AS settlement_rewards,
+ SUM(amount_settled) AS amount_settled,
+ SUM(trades) / MAX(trades_total) AS trades_pct,
+ SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,
+ SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct
+FROM
+ hourly
+ JOIN total
+ ON hourly.ts = total.ts
+GROUP BY
+ 1,
+ 2
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql
new file mode 100644
index 00000000..627ecf9f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql
@@ -0,0 +1,40 @@
+WITH trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ settler,
+ settlement_reward,
+ notional_trade_size,
+ 1 AS trades
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+total AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades_total,
+ SUM(settlement_reward) AS settlement_reward_total,
+ SUM(notional_trade_size) AS notional_trade_size_total
+ FROM
+ trades
+ GROUP BY
+ 1
+)
+SELECT
+ trades.ts,
+ settler AS keeper,
+ SUM(trades) AS trades,
+ SUM(settlement_reward) AS settlement_rewards,
+ SUM(notional_trade_size) AS amount_settled,
+ SUM(trades) / MAX(trades_total) AS trades_pct,
+ SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,
+ SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct
+FROM
+ trades
+ JOIN total
+ ON trades.ts = total.ts
+GROUP BY
+ 1,
+ 2
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql
new file mode 100644
index 00000000..870f2a67
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql
@@ -0,0 +1,22 @@
+SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ market_symbol,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations,
+ MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,
+ MAX(cumulative_referral_fees) AS cumulative_referral_fees,
+ MAX(cumulative_collected_fees) AS cumulative_collected_fees,
+ MAX(cumulative_volume) AS cumulative_volume
+FROM
+ "analytics"."prod_base_mainnet"."fct_perp_market_stats_hourly_base_mainnet"
+GROUP BY
+ 1,
+ 2
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql
new file mode 100644
index 00000000..34a5bef9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql
@@ -0,0 +1,147 @@
+WITH trades AS (
+ SELECT
+ ts,
+ market_symbol,
+ exchange_fees,
+ referral_fees,
+ collected_fees,
+ notional_trade_size,
+ 1 AS trades
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+),
+liq AS (
+ SELECT
+ ts,
+ market_symbol,
+ amount_liquidated,
+ 1 AS liquidations
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_liq_position_base_mainnet"
+),
+inc_trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(notional_trade_size) AS volume
+ FROM
+ trades
+ GROUP BY
+ 1,
+ 2
+),
+inc_liq AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations
+ FROM
+ liq
+ GROUP BY
+ 1,
+ 2
+),
+dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.market_symbol
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ trades
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT market_symbol
+ FROM
+ trades
+ ) AS m
+ GROUP BY
+ m.market_symbol
+),
+inc AS (
+ SELECT
+ dim.ts,
+ dim.market_symbol,
+ COALESCE(
+ h.trades,
+ 0
+ ) AS trades,
+ COALESCE(
+ h.exchange_fees,
+ 0
+ ) AS exchange_fees,
+ COALESCE(
+ h.referral_fees,
+ 0
+ ) AS referral_fees,
+ COALESCE(
+ h.collected_fees,
+ 0
+ ) AS collected_fees,
+ COALESCE(
+ h.volume,
+ 0
+ ) AS volume,
+ COALESCE(
+ l.amount_liquidated,
+ 0
+ ) AS amount_liquidated,
+ COALESCE(
+ l.liquidations,
+ 0
+ ) AS liquidations,
+ SUM(
+ h.exchange_fees
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_exchange_fees,
+ SUM(
+ h.referral_fees
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_referral_fees,
+ SUM(
+ h.collected_fees
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_collected_fees,
+ SUM(
+ h.volume
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_volume
+ FROM
+ dim
+ LEFT JOIN inc_trades h
+ ON dim.ts = h.ts
+ AND dim.market_symbol = h.market_symbol
+ LEFT JOIN inc_liq l
+ ON dim.ts = l.ts
+ AND dim.market_symbol = l.market_symbol
+)
+SELECT
+ *
+FROM
+ inc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql
new file mode 100644
index 00000000..728462b7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql
@@ -0,0 +1,20 @@
+SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(liquidation_rewards) AS liquidation_rewards,
+ SUM(liquidated_accounts) AS liquidated_accounts,
+ MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,
+ MAX(cumulative_referral_fees) AS cumulative_referral_fees,
+ MAX(cumulative_collected_fees) AS cumulative_collected_fees,
+ MAX(cumulative_volume) AS cumulative_volume
+FROM
+ "analytics"."prod_base_mainnet"."fct_perp_stats_hourly_base_mainnet"
+GROUP BY
+ 1
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql
new file mode 100644
index 00000000..aa4a0265
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql
@@ -0,0 +1,84 @@
+WITH inc_market AS (
+ SELECT
+ ts,
+ market_symbol,
+ trades,
+ exchange_fees,
+ referral_fees,
+ collected_fees,
+ volume,
+ liquidations,
+ cumulative_exchange_fees,
+ cumulative_referral_fees,
+ cumulative_collected_fees,
+ cumulative_volume
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_market_stats_hourly_base_mainnet"
+),
+liq AS (
+ SELECT
+ ts,
+ total_reward,
+ 1 AS liquidated_accounts
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_liq_account_base_mainnet"
+),
+inc_liq AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ SUM(total_reward) AS liquidation_rewards,
+ SUM(liquidated_accounts) AS liquidated_accounts
+ FROM
+ liq
+ GROUP BY
+ 1
+),
+inc_trade AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,
+ SUM(cumulative_referral_fees) AS cumulative_referral_fees,
+ SUM(cumulative_collected_fees) AS cumulative_collected_fees,
+ SUM(cumulative_volume) AS cumulative_volume
+ FROM
+ inc_market
+ GROUP BY
+ 1
+),
+inc AS (
+ SELECT
+ h.ts,
+ h.trades,
+ h.exchange_fees,
+ h.referral_fees,
+ h.collected_fees,
+ h.volume,
+ COALESCE(
+ l.liquidation_rewards,
+ 0
+ ) AS liquidation_rewards,
+ COALESCE(
+ l.liquidated_accounts,
+ 0
+ ) AS liquidated_accounts,
+ h.cumulative_exchange_fees,
+ h.cumulative_referral_fees,
+ h.cumulative_collected_fees,
+ h.cumulative_volume
+ FROM
+ inc_trade h
+ LEFT JOIN inc_liq l
+ ON h.ts = l.ts
+)
+SELECT
+ *
+FROM
+ inc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql
new file mode 100644
index 00000000..bdc156ff
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql
@@ -0,0 +1,83 @@
+WITH trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ tracking_code,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(trades) AS trades
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_tracking_stats_hourly_base_mainnet"
+ GROUP BY
+ 1,
+ 2
+),
+accounts AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ tracking_code,
+ COUNT(
+ DISTINCT account_id
+ ) AS accounts
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+ GROUP BY
+ 1,
+ 2
+),
+total AS (
+ SELECT
+ ts,
+ SUM(exchange_fees) AS exchange_fees_total,
+ SUM(referral_fees) AS referral_fees_total,
+ SUM(collected_fees) AS collected_fees_total,
+ SUM(volume) AS volume_total,
+ SUM(trades) AS trades_total
+ FROM
+ trades
+ GROUP BY
+ 1
+)
+SELECT
+ trades.ts,
+ trades.tracking_code,
+ trades.exchange_fees,
+ trades.referral_fees,
+ trades.collected_fees,
+ trades.volume,
+ trades.trades,
+ accounts.accounts,
+ CASE
+ WHEN total.exchange_fees_total = 0 THEN 0
+ ELSE trades.exchange_fees / total.exchange_fees_total
+ END AS exchange_fees_share,
+ CASE
+ WHEN total.referral_fees_total = 0 THEN 0
+ ELSE trades.referral_fees / total.referral_fees_total
+ END AS referral_fees_share,
+ CASE
+ WHEN total.collected_fees_total = 0 THEN 0
+ ELSE trades.collected_fees / total.collected_fees_total
+ END AS collected_fees_share,
+ CASE
+ WHEN total.volume_total = 0 THEN 0
+ ELSE trades.volume / total.volume_total
+ END AS volume_share,
+ CASE
+ WHEN total.trades_total = 0 THEN 0
+ ELSE trades.trades / total.trades_total
+ END AS trades_share
+FROM
+ trades
+ JOIN accounts
+ ON trades.ts = accounts.ts
+ AND trades.tracking_code = accounts.tracking_code
+ JOIN total
+ ON trades.ts = total.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql
new file mode 100644
index 00000000..197d8c73
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql
@@ -0,0 +1,83 @@
+WITH trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ tracking_code,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(notional_trade_size) AS volume,
+ SUM(1) AS trades
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+ GROUP BY
+ 1,
+ 2
+),
+accounts AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ tracking_code,
+ COUNT(
+ DISTINCT account_id
+ ) AS accounts
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_trades_base_mainnet"
+ GROUP BY
+ 1,
+ 2
+),
+total AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades_total,
+ SUM(exchange_fees) AS exchange_fees_total,
+ SUM(referral_fees) AS referral_fees_total,
+ SUM(collected_fees) AS collected_fees_total,
+ SUM(volume) AS volume_total
+ FROM
+ trades
+ GROUP BY
+ 1
+)
+SELECT
+ trades.ts,
+ trades.tracking_code,
+ trades.exchange_fees,
+ trades.referral_fees,
+ trades.collected_fees,
+ trades.volume,
+ trades.trades,
+ accounts.accounts,
+ CASE
+ WHEN total.exchange_fees_total = 0 THEN 0
+ ELSE trades.exchange_fees / total.exchange_fees_total
+ END AS exchange_fees_share,
+ CASE
+ WHEN total.referral_fees_total = 0 THEN 0
+ ELSE trades.referral_fees / total.referral_fees_total
+ END AS referral_fees_share,
+ CASE
+ WHEN total.collected_fees_total = 0 THEN 0
+ ELSE trades.collected_fees / total.collected_fees_total
+ END AS collected_fees_share,
+ CASE
+ WHEN total.volume_total = 0 THEN 0
+ ELSE trades.volume / total.volume_total
+ END AS volume_share,
+ CASE
+ WHEN total.trades_total = 0 THEN 0
+ ELSE trades.trades / total.trades_total
+ END AS trades_share
+FROM
+ trades
+ JOIN accounts
+ ON trades.ts = accounts.ts
+ AND trades.tracking_code = accounts.tracking_code
+ JOIN total
+ ON trades.ts = total.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql
new file mode 100644
index 00000000..b6517f5c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql
@@ -0,0 +1,52 @@
+WITH all_prices AS (
+ SELECT
+ ts,
+ NULL AS market_address,
+ market_symbol,
+ price
+ FROM
+ "analytics"."prod_base_mainnet"."fct_perp_market_history_base_mainnet"
+ UNION ALL
+ SELECT
+ ts,
+ NULL AS market_address,
+ 'SNX' AS market_symbol,
+ snx_price AS price
+ FROM
+ "analytics"."prod_base_mainnet"."fct_buyback_base_mainnet"
+ WHERE
+ snx_price > 0
+ UNION ALL
+ SELECT
+ ts,
+ collateral_type AS market_address,
+ NULL AS market_symbol,
+ collateral_value / amount AS price
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+ WHERE
+ collateral_value > 0
+),
+tokens AS (
+ SELECT
+ token_address,
+ token_symbol
+ FROM
+ "analytics"."prod_seeds"."base_mainnet_tokens"
+)
+SELECT
+ p.ts,
+ p.market_address,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) AS market_symbol,
+ p.price
+FROM
+ all_prices p
+ LEFT JOIN tokens t
+ ON LOWER(
+ p.market_address
+ ) = LOWER(
+ t.token_address
+ )
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql
new file mode 100644
index 00000000..41688e1a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql
@@ -0,0 +1,74 @@
+WITH prices AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS price
+ FROM
+ "analytics"."prod_base_mainnet"."fct_prices_base_mainnet"
+),
+dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.market_symbol
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ prices
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT market_symbol
+ FROM
+ prices
+ ) AS m
+ GROUP BY
+ m.market_symbol
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.market_symbol,
+ prices.price,
+ SUM(
+ CASE
+ WHEN prices.price IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS price_id
+ FROM
+ dim
+ LEFT JOIN prices
+ ON dim.ts = prices.ts
+ AND dim.market_symbol = prices.market_symbol
+),
+hourly_prices AS (
+ SELECT
+ ts,
+ market_symbol,
+ FIRST_VALUE(price) over (
+ PARTITION BY price_id,
+ market_symbol
+ ORDER BY
+ ts
+ ) AS price
+ FROM
+ ffill
+)
+SELECT
+ *
+FROM
+ hourly_prices
+WHERE
+ price IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql
new file mode 100644
index 00000000..4f5917b2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql
new file mode 100644
index 00000000..b7368af4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..2416624d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql
new file mode 100644
index 00000000..c71dcc8c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql
new file mode 100644
index 00000000..adbfa0ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_prices_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..57f855ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql
new file mode 100644
index 00000000..fb9036d9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql
new file mode 100644
index 00000000..ef0879c0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_prices_hourly_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql
new file mode 100644
index 00000000..2afa76fe
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql
@@ -0,0 +1,59 @@
+WITH bought AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+
+ synth_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+),
+sold AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+ -1 *
+ amount_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ bought
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ sold
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql
new file mode 100644
index 00000000..187abb91
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_markets_base_mainnet.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ synth_market_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ synth_token_address AS token_address
+ FROM
+ "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql
new file mode 100644
index 00000000..71aa91cb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql
@@ -0,0 +1,47 @@
+WITH wraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ amount_wrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+),
+unwraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+ -1 *
+ amount_unwrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ wraps
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ unwraps
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql b/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql
new file mode 100644
index 00000000..8ff09770
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql
@@ -0,0 +1,75 @@
+WITH wrapper AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount_wrapped AS change_amount
+ FROM
+ "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+),
+atomics AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount AS change_amount
+ FROM
+ "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+ UNION ALL
+ SELECT
+ ts,
+ block_number,
+ 0 AS synth_market_id,
+ amount * price * -1 AS change_amount
+ FROM
+ "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+),
+usd_changes AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+ UNION ALL
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+ -1 *
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+),
+all_changes AS (
+ SELECT
+ *
+ FROM
+ wrapper
+ UNION ALL
+ SELECT
+ *
+ FROM
+ atomics
+ UNION ALL
+ SELECT
+ *
+ FROM
+ usd_changes
+)
+SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ SUM(change_amount) over (
+ PARTITION BY synth_market_id
+ ORDER BY
+ ts,
+ block_number
+ ) AS supply
+FROM
+ all_changes
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql
new file mode 100644
index 00000000..da06b51d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql
new file mode 100644
index 00000000..e929b9cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql
new file mode 100644
index 00000000..b1919f22
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql
new file mode 100644
index 00000000..fcb70c16
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql
new file mode 100644
index 00000000..24477403
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql
new file mode 100644
index 00000000..c879490e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql
new file mode 100644
index 00000000..6ee7189f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql
new file mode 100644
index 00000000..b9c4cb6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql
new file mode 100644
index 00000000..9a3c5b8d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..971e0a3b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql
new file mode 100644
index 00000000..18460e7b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql
new file mode 100644
index 00000000..262d61a1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql
new file mode 100644
index 00000000..f9a00c86
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql
new file mode 100644
index 00000000..210e229e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql
new file mode 100644
index 00000000..bdc31da5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql
new file mode 100644
index 00000000..3e596a6f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_base_mainnet"."fct_spot_markets_base_mainnet"
+where token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql
new file mode 100644
index 00000000..1eb59b2f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_wrapped
+from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+where amount_wrapped is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql
new file mode 100644
index 00000000..d85551c2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql
new file mode 100644
index 00000000..99e85bf5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..ba922fe3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql
new file mode 100644
index 00000000..39da23fc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql
new file mode 100644
index 00000000..103fc4e4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql
new file mode 100644
index 00000000..c7c50032
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql
new file mode 100644
index 00000000..7bf0ea5c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select supply
+from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet"
+where supply is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..b09110c7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql
new file mode 100644
index 00000000..9fcf4773
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_mainnet"."fct_synth_supply_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_base_mainnet_id.sql
new file mode 100644
index 00000000..f713c6b6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_spot_atomics_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_base_mainnet_id.sql b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_base_mainnet_id.sql
new file mode 100644
index 00000000..465b7425
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_mainnet"."fct_spot_wrapper_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql
new file mode 100644
index 00000000..91d3946b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql
@@ -0,0 +1,17 @@
+SELECT
+ id,
+ block_timestamp AS ts,
+ buyer,
+
+ snx / 1e18
+ AS snx,
+
+ usd / 1e18
+ AS usd,
+ (
+ usd / 1e18
+) / (
+ snx / 1e18
+) AS snx_price
+FROM
+ "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql
new file mode 100644
index 00000000..7f0c4613
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql
@@ -0,0 +1,27 @@
+WITH agg AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ SUM(snx) AS snx_amount,
+ SUM(usd) AS usd_amount
+ FROM
+ "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+ GROUP BY
+ 1
+) -- add cumulative amounts
+SELECT
+ ts,
+ snx_amount,
+ usd_amount,
+ SUM(snx_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_snx_amount,
+ SUM(usd_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_usd_amount
+FROM
+ agg
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql
new file mode 100644
index 00000000..5a978929
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql
@@ -0,0 +1,27 @@
+WITH agg AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ SUM(snx) AS snx_amount,
+ SUM(usd) AS usd_amount
+ FROM
+ "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+ GROUP BY
+ 1
+) -- add cumulative amounts
+SELECT
+ ts,
+ snx_amount,
+ usd_amount,
+ SUM(snx_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_snx_amount,
+ SUM(usd_amount) over (
+ ORDER BY
+ ts
+ ) AS cumulative_usd_amount
+FROM
+ agg
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql
new file mode 100644
index 00000000..bde1c0e0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql
new file mode 100644
index 00000000..3e39b780
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql
new file mode 100644
index 00000000..2edc818f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql
new file mode 100644
index 00000000..75448fb9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql
new file mode 100644
index 00000000..10aa7834
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not cumulative_snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql
new file mode 100644
index 00000000..6f7361e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql
new file mode 100644
index 00000000..f97923fd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql
new file mode 100644
index 00000000..b4789d18
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql
new file mode 100644
index 00000000..7f7bb6a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx_price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql
new file mode 100644
index 00000000..94513ec0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql
new file mode 100644
index 00000000..5a21701e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql
new file mode 100644
index 00000000..20bc5401
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select buyer
+from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+where buyer is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql
new file mode 100644
index 00000000..cf0d517e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql
new file mode 100644
index 00000000..8ec8f416
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx
+from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+where snx is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql
new file mode 100644
index 00000000..18c662ab
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx_price
+from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+where snx_price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql
new file mode 100644
index 00000000..7cba6c8e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql
new file mode 100644
index 00000000..7f458be3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd
+from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+where usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql
new file mode 100644
index 00000000..da6a9040
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_snx_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+where cumulative_snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql
new file mode 100644
index 00000000..5b1c1c28
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_usd_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+where cumulative_usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql
new file mode 100644
index 00000000..d6bb53ed
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+where snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql
new file mode 100644
index 00000000..9cba149d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql
new file mode 100644
index 00000000..1212305a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_daily_base_sepolia"
+where usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql
new file mode 100644
index 00000000..080333f0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_snx_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+where cumulative_snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql
new file mode 100644
index 00000000..69df17aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_usd_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+where cumulative_usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql
new file mode 100644
index 00000000..053fba18
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+where snx_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql
new file mode 100644
index 00000000..a39f21dc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql
new file mode 100644
index 00000000..c85653ee
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd_amount
+from "analytics"."prod_base_sepolia"."fct_buyback_hourly_base_sepolia"
+where usd_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_base_sepolia_id.sql
new file mode 100644
index 00000000..9bbd77da
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql
new file mode 100644
index 00000000..6fa34bf7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql
@@ -0,0 +1,58 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated,
+ ROW_NUMBER() over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp DESC
+ ) AS rn
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ CAST(
+ account_id AS text
+ ) AS account_id,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+WHERE
+ rn = 1
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql
new file mode 100644
index 00000000..16add567
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql
@@ -0,0 +1,209 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_pnl,
+ hourly_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct,
+ SUM(
+ COALESCE(
+ hourly_issuance,
+ 0
+ )
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_issuance,
+ SUM(
+ hourly_pnl
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_pnl
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_pnl_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_total_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.debt AS debt,
+ pnl_hourly.hourly_pnl AS hourly_pnl,
+ pnl_hourly.cumulative_pnl AS cumulative_pnl,
+ pnl_hourly.hourly_issuance AS hourly_issuance,
+ pnl_hourly.cumulative_issuance AS cumulative_issuance,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ -- total pnls
+ avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,
+ avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,
+ avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,
+ -- pool pnls
+ avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,
+ avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,
+ avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,
+ -- rewards pnls
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,
+ (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,
+ (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,
+ (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,
+ (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,
+ (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ cumulative_pnl,
+ cumulative_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ apr_24h,
+ apy_24h,
+ apr_7d,
+ apy_7d,
+ apr_28d,
+ apy_28d,
+ apr_24h_pnl,
+ apy_24h_pnl,
+ apr_7d_pnl,
+ apy_7d_pnl,
+ apr_28d_pnl,
+ apy_28d_pnl,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql
new file mode 100644
index 00000000..90e801d2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql
@@ -0,0 +1,100 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_reward_base_sepolia"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.reward_token AS reward_token,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+ AND pnl_hourly.reward_token = avg_returns.reward_token
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql
new file mode 100644
index 00000000..32790856
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql
@@ -0,0 +1,35 @@
+WITH market_updated AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+)
+SELECT
+ id,
+ block_timestamp AS ts,
+ transaction_hash,
+ event_name,
+ market_id,
+ collateral_type,
+
+ credit_capacity / 1e18
+ AS credit_capacity,
+
+ net_issuance / 1e18
+ AS net_issuance,
+
+ token_amount / 1e18
+ AS token_amount
+FROM
+ market_updated
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql
new file mode 100644
index 00000000..669a4324
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql
@@ -0,0 +1,39 @@
+WITH events AS (
+ SELECT
+ block_timestamp,
+
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+ UNION ALL
+ SELECT
+ block_timestamp,-
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+),
+ranked_events AS (
+ SELECT
+ *,
+ SUM(token_amount) over (
+ PARTITION BY collateral_type
+ ORDER BY
+ block_timestamp rows BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS amount_deposited
+ FROM
+ events
+)
+SELECT
+ block_timestamp AS ts,
+ collateral_type,
+ amount_deposited
+FROM
+ ranked_events
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql
new file mode 100644
index 00000000..02d13758
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql
@@ -0,0 +1,44 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql
new file mode 100644
index 00000000..4b1b94de
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ pool_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ owner
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql
new file mode 100644
index 00000000..e3d26038
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_debt_base_sepolia.sql
@@ -0,0 +1,10 @@
+SELECT
+ ts,
+ block_number,
+ pool_id,
+ collateral_type,
+ debt
+FROM
+ "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql
new file mode 100644
index 00000000..f8f3c547
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_base_sepolia.sql
@@ -0,0 +1,43 @@
+WITH burns AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+ -1 *
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+ ORDER BY
+ block_timestamp DESC
+),
+mints AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+ ORDER BY
+ block_timestamp DESC
+)
+SELECT
+ *
+FROM
+ burns
+UNION ALL
+SELECT
+ *
+FROM
+ mints
+ORDER BY
+ ts DESC
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql
new file mode 100644
index 00000000..d801986c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql
@@ -0,0 +1,110 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+max_debt_block AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS HOUR,
+ pool_id,
+ collateral_type,
+ MAX(block_number) AS max_block_number
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+ GROUP BY
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+),
+filt_issuance AS (
+ SELECT
+ CASE
+ WHEN i.block_number <= d.max_block_number
+ OR d.max_block_number IS NULL THEN i.ts
+ ELSE i.ts + INTERVAL '1 hour'
+ END AS ts,
+ i.pool_id,
+ i.collateral_type,
+ i.amount
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+ i
+ LEFT JOIN max_debt_block d
+ ON DATE_TRUNC(
+ 'hour',
+ i.ts
+ ) = d.hour
+ AND i.pool_id = d.pool_id
+ AND LOWER(
+ i.collateral_type
+ ) = LOWER(
+ d.collateral_type
+ )
+ WHERE
+ i.block_number <= (
+ SELECT
+ MAX(
+ max_block_number
+ )
+ FROM
+ max_debt_block
+ )
+),
+issuance AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ SUM(amount) AS hourly_issuance
+ FROM
+ filt_issuance
+ GROUP BY
+ 1,
+ 2,
+ 3
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ COALESCE(
+ i.hourly_issuance,
+ 0
+ ) AS hourly_issuance
+FROM
+ dim
+ LEFT JOIN issuance i
+ ON dim.pool_id = i.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ i.collateral_type
+ )
+ AND dim.ts = i.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql
new file mode 100644
index 00000000..5920472c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql
@@ -0,0 +1,210 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ p.pool_id,
+ p.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+ ) AS p
+GROUP BY
+ p.pool_id,
+ p.collateral_type
+),
+issuance AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ hourly_issuance
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia"
+),
+debt AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS debt
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+),
+collateral AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS collateral_value
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+ WHERE
+ pool_id = 1
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ debt.debt,
+ collateral.collateral_value,
+ SUM(
+ CASE
+ WHEN debt.debt IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS debt_id,
+ SUM(
+ CASE
+ WHEN collateral.collateral_value IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS collateral_id
+ FROM
+ dim
+ LEFT JOIN debt
+ ON dim.ts = debt.ts
+ AND dim.pool_id = debt.pool_id
+ AND dim.collateral_type = debt.collateral_type
+ LEFT JOIN collateral
+ ON dim.ts = collateral.ts
+ AND dim.pool_id = collateral.pool_id
+ AND dim.collateral_type = collateral.collateral_type
+),
+hourly_index AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ FIRST_VALUE(COALESCE(debt, 0)) over (
+ PARTITION BY debt_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS debt,
+ FIRST_VALUE(COALESCE(collateral_value, 0)) over (
+ PARTITION BY collateral_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS collateral_value
+ FROM
+ ffill
+),
+hourly_pnl AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type
+ ORDER BY
+ ts) - debt, 0) AS hourly_pnl
+ FROM
+ hourly_index
+),
+hourly_rewards AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia"
+),
+hourly_returns AS (
+ SELECT
+ pnl.ts,
+ pnl.pool_id,
+ pnl.collateral_type,
+ pnl.collateral_value,
+ pnl.debt,
+ COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) hourly_issuance,
+ pnl.hourly_pnl + COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) AS hourly_pnl,
+ COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) / pnl.collateral_value
+ END AS hourly_rewards_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl) / pnl.collateral_value
+ END AS hourly_pnl_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0)) / pnl.collateral_value
+ END AS hourly_total_pct
+ FROM
+ hourly_pnl pnl
+ LEFT JOIN hourly_rewards rewards
+ ON pnl.ts = rewards.ts
+ AND pnl.pool_id = rewards.pool_id
+ AND pnl.collateral_type = rewards.collateral_type
+ LEFT JOIN issuance iss
+ ON pnl.ts = iss.ts
+ AND pnl.pool_id = iss.pool_id
+ AND LOWER(
+ pnl.collateral_type
+ ) = LOWER(
+ iss.collateral_type
+ )
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct
+FROM
+ hourly_returns
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql
new file mode 100644
index 00000000..0feb8c5e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql
@@ -0,0 +1,78 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol AS reward_token
+ FROM
+ (
+ SELECT
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT token_symbol
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+ ) AS p
+ GROUP BY
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol
+),
+reward_hourly_token AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol AS reward_token,
+ SUM(
+ rewards_usd
+ ) AS rewards_usd
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+ GROUP BY
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ dim.collateral_value,
+ dim.reward_token,
+ COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN dim.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) / dim.collateral_value
+ END AS hourly_rewards_pct
+FROM
+ dim
+ LEFT JOIN reward_hourly_token
+ ON dim.ts = reward_hourly_token.ts
+ AND dim.pool_id = reward_hourly_token.pool_id
+ AND dim.collateral_type = reward_hourly_token.collateral_type
+ and dim.reward_token = reward_hourly_token.reward_token
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql
new file mode 100644
index 00000000..033583d7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql
@@ -0,0 +1,37 @@
+WITH rewards_distributed AS (
+ SELECT
+ block_timestamp AS ts,
+ CAST(
+ pool_id AS INTEGER
+ ) AS pool_id,
+ collateral_type,
+ distributor,
+
+ amount / 1e18
+ AS amount,
+ TO_TIMESTAMP("start") AS ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+),
+distributors AS (
+ SELECT
+ CAST(distributor_address AS TEXT) AS distributor_address,
+ CAST(token_symbol AS TEXT) AS token_symbol
+ FROM
+ "analytics"."prod_seeds"."base_sepolia_reward_distributors"
+)
+SELECT
+ rd.ts,
+ rd.pool_id,
+ rd.collateral_type,
+ rd.distributor,
+ distributors.token_symbol,
+ rd.amount,
+ rd.ts_start,
+ rd.duration
+FROM
+ rewards_distributed rd
+ join distributors on rd.distributor = distributors.distributor_address
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql
new file mode 100644
index 00000000..a8bd93f8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql
@@ -0,0 +1,20 @@
+WITH token_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ SUM(rewards_usd) AS rewards_usd
+FROM
+ token_hourly
+GROUP BY
+ ts,
+ pool_id,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql
new file mode 100644
index 00000000..f9d48d59
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql
@@ -0,0 +1,113 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+rewards_distributed AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount,
+ ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+),
+hourly_distributions AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor,
+ r.token_symbol,
+ r.amount,
+ r.ts_start,
+ r."duration",
+ ROW_NUMBER() over (
+ PARTITION BY dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor
+ ORDER BY
+ r.ts_start DESC
+ ) AS distributor_index
+ FROM
+ dim
+ LEFT JOIN rewards_distributed r
+ ON dim.pool_id = r.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ r.collateral_type
+ )
+ AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start
+ AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL
+),
+hourly_rewards AS (
+ SELECT
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ p.price,
+ -- get the hourly amount distributed
+ d.amount / (
+ d."duration" / 3600
+ ) AS hourly_amount,
+ -- get the amount of time distributed this hour
+ -- use the smaller of those two intervals
+ -- convert the interval to a number of hours
+ -- multiply the result by the hourly amount to get the amount distributed this hour
+ (
+ EXTRACT(
+ epoch
+ FROM
+ LEAST(
+ d."duration" / 3600 * '1 hour' :: INTERVAL,
+ d.ts + '1 hour' :: INTERVAL - GREATEST(
+ d.ts,
+ d.ts_start
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) AS amount_distributed
+ FROM
+ hourly_distributions AS d
+ LEFT JOIN "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia"
+ p
+ ON d.ts = p.ts
+ AND d.token_symbol = p.market_symbol
+ WHERE
+ d.distributor_index = 1
+)
+SELECT
+ *,
+ amount_distributed * price AS rewards_usd
+FROM
+ hourly_rewards
+WHERE
+ amount_distributed IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql
new file mode 100644
index 00000000..2605ff87
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql
new file mode 100644
index 00000000..eee613ed
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_delegated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql
new file mode 100644
index 00000000..399efaf8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql
new file mode 100644
index 00000000..84aac0ec
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql
new file mode 100644
index 00000000..2cdaaeac
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql
new file mode 100644
index 00000000..9869965c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql
new file mode 100644
index 00000000..4c0f33fe
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql
new file mode 100644
index 00000000..0e719975
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql
new file mode 100644
index 00000000..dd127b13
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql
new file mode 100644
index 00000000..ec2ed96a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql
new file mode 100644
index 00000000..87a2872b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql
new file mode 100644
index 00000000..304b7a79
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql
new file mode 100644
index 00000000..98c56298
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql
new file mode 100644
index 00000000..63859016
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_distributed >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql
new file mode 100644
index 00000000..ca4cefe1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql
new file mode 100644
index 00000000..9ae20cad
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql
new file mode 100644
index 00000000..303a2644
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql
new file mode 100644
index 00000000..80a40e27
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql
new file mode 100644
index 00000000..69e869bb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql
new file mode 100644
index 00000000..0d334a46
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql
new file mode 100644
index 00000000..c992c561
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql
new file mode 100644
index 00000000..4f02523d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql
new file mode 100644
index 00000000..7cc8aee7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql
new file mode 100644
index 00000000..724df9ea
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql
new file mode 100644
index 00000000..4dd55f49
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql
new file mode 100644
index 00000000..e8b84091
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql
new file mode 100644
index 00000000..48077802
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql
new file mode 100644
index 00000000..1eaf2377
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delegated
+from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia"
+where amount_delegated is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql
new file mode 100644
index 00000000..c580c428
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..3709fdec
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql
new file mode 100644
index 00000000..cb5c2f88
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_core_account_delegation_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql
new file mode 100644
index 00000000..011163e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_24h
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where apr_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql
new file mode 100644
index 00000000..6478e13a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_28d
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where apr_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql
new file mode 100644
index 00000000..70ac488c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_7d
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where apr_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql
new file mode 100644
index 00000000..5f80fe38
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_24h
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where apy_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql
new file mode 100644
index 00000000..1a99fc80
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_28d
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where apy_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql
new file mode 100644
index 00000000..f69f37f1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_7d
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where apy_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..cfdf334a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql
new file mode 100644
index 00000000..6f02088a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql
new file mode 100644
index 00000000..4424cfea
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_issuance
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where cumulative_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql
new file mode 100644
index 00000000..c1871e4e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_pnl
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where cumulative_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql
new file mode 100644
index 00000000..2fa53ee1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql
new file mode 100644
index 00000000..b3ac657c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql
new file mode 100644
index 00000000..46715ff8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql
new file mode 100644
index 00000000..f4029e39
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql
new file mode 100644
index 00000000..3d7448a1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..0ebade57
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql
new file mode 100644
index 00000000..67b8226f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql
new file mode 100644
index 00000000..6fb082dd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_core_apr_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..5403bea6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql
new file mode 100644
index 00000000..5a0001fb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql
new file mode 100644
index 00000000..07f9eed1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..8559a143
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql
new file mode 100644
index 00000000..10ba53bd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql
new file mode 100644
index 00000000..1b423d07
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql
new file mode 100644
index 00000000..b6583ed4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..fc4649b3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql
new file mode 100644
index 00000000..302383ec
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql
new file mode 100644
index 00000000..e82101fb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_deposited
+from "analytics"."prod_base_sepolia"."fct_core_pool_collateral_base_sepolia"
+where amount_deposited is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..7727c002
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_core_pool_collateral_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql
new file mode 100644
index 00000000..a67d8374
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_core_pool_collateral_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..12590ee0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..be728ff7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql
new file mode 100644
index 00000000..611e0300
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_core_pool_delegation_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql
new file mode 100644
index 00000000..578abd44
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql
new file mode 100644
index 00000000..2f83698b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql
new file mode 100644
index 00000000..1f874696
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql
new file mode 100644
index 00000000..bf82f710
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_base_sepolia"."fct_core_pools_base_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql
new file mode 100644
index 00000000..c8c57280
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..b5cfcbc0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql
new file mode 100644
index 00000000..64ee46c0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..c966ef16
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql
new file mode 100644
index 00000000..2d9c564d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_pool_debt_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql
new file mode 100644
index 00000000..a192fcad
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql
new file mode 100644
index 00000000..276a11bc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql
new file mode 100644
index 00000000..1a189527
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..9034e38b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..641c2db0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..421af8b2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql
new file mode 100644
index 00000000..fe2ef08e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..fb438444
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql
new file mode 100644
index 00000000..b14378a4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..86103a19
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql
new file mode 100644
index 00000000..3b5b64f6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_pool_issuance_hourly_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..e976dca1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql
new file mode 100644
index 00000000..c48d99d9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql
new file mode 100644
index 00000000..ec843140
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql
new file mode 100644
index 00000000..332b1f32
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql
new file mode 100644
index 00000000..2782944e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql
new file mode 100644
index 00000000..bec5f7ba
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql
new file mode 100644
index 00000000..7dfe310f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql
new file mode 100644
index 00000000..52cafcd7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_total_pct
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where hourly_total_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..41bebb69
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql
new file mode 100644
index 00000000..f4ed80da
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql
new file mode 100644
index 00000000..0aeb6d8f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_pool_pnl_hourly_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql
new file mode 100644
index 00000000..f851a8a6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..fe8a8d77
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql
new file mode 100644
index 00000000..78e7cf13
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..8f4126ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql
new file mode 100644
index 00000000..cdbdce4b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql
new file mode 100644
index 00000000..9d5fff68
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..1353837a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..6008b428
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql
new file mode 100644
index 00000000..fd55fc27
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql
new file mode 100644
index 00000000..9b265236
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_hourly_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql
new file mode 100644
index 00000000..2c03a144
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_amount
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where hourly_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql
new file mode 100644
index 00000000..9e75a837
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql
new file mode 100644
index 00000000..10264256
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql
new file mode 100644
index 00000000..6f1c0c0b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_distributed
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where amount_distributed is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql
new file mode 100644
index 00000000..61f24d10
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..c8e5e2d1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql
new file mode 100644
index 00000000..17bbc462
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql
new file mode 100644
index 00000000..f31bc5a1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql
new file mode 100644
index 00000000..7df23b28
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_pool_rewards_token_hourly_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_core_market_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..6b0b914d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_core_market_updated_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_core_market_updated_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql
new file mode 100644
index 00000000..19ff047d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql
@@ -0,0 +1,14 @@
+WITH base AS (
+ SELECT
+ CAST(
+ account_id AS VARCHAR
+ ) AS id,
+ block_timestamp AS created_ts,
+ "owner"
+ FROM
+ "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql
new file mode 100644
index 00000000..b7d121cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_collateral_modified_base_sepolia.sql
@@ -0,0 +1,15 @@
+SELECT
+ id,
+ block_timestamp,
+ account_id,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ synth_market_id,
+ sender,
+
+ amount_delta / 1e18
+ AS amount_delta
+FROM
+ "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql
new file mode 100644
index 00000000..b183bc20
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_interest_charged_base_sepolia.sql
@@ -0,0 +1,13 @@
+SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ account_id,
+
+ interest / 1e18
+ AS interest
+FROM
+ "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql
new file mode 100644
index 00000000..d24410fc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql
@@ -0,0 +1,56 @@
+WITH liquidation_events AS (
+ SELECT
+ account_id,
+ reward,
+ block_timestamp,
+ full_liquidation,
+ SUM(
+ CASE
+ WHEN full_liquidation THEN 1
+ ELSE 0
+ END
+ ) over (
+ PARTITION BY account_id
+ ORDER BY
+ block_timestamp rows BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS liquidation_id
+ FROM
+ "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+),
+cumulative_rewards AS (
+ SELECT
+ CAST(
+ le.account_id AS text
+ ) AS account_id,
+ le.block_timestamp,
+ le.reward,
+ le.full_liquidation,
+ le.liquidation_id,
+ SUM(
+ reward / 1e18
+) over (
+ PARTITION BY le.account_id,
+ le.liquidation_id
+ ORDER BY
+ le.block_timestamp
+ ) AS cumulative_reward,
+ ROW_NUMBER() over (
+ PARTITION BY le.account_id,
+ le.liquidation_id
+ ORDER BY
+ le.block_timestamp DESC
+ ) AS rn
+ FROM
+ liquidation_events le
+ ORDER BY
+ block_timestamp
+)
+SELECT
+ account_id,
+ block_timestamp AS ts,
+ cumulative_reward AS total_reward
+FROM
+ cumulative_rewards
+WHERE
+ rn = 1
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql
new file mode 100644
index 00000000..de933d10
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql
@@ -0,0 +1,40 @@
+WITH liquidations AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ account_id,
+ market_id,
+
+ amount_liquidated / 1e18
+ AS amount_liquidated,
+
+ current_position_size / 1e18
+ AS position_size
+ FROM
+ "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+),
+markets AS (
+ SELECT
+ id,
+ market_symbol
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+)
+SELECT
+ l.id,
+ l.ts,
+ l.block_number,
+ l.transaction_hash,
+ CAST(
+ l.account_id AS text
+ ) AS account_id,
+ l.market_id,
+ m.market_symbol,
+ l.amount_liquidated,
+ l.position_size
+FROM
+ liquidations l
+ LEFT JOIN markets m
+ ON l.market_id = m.id
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql
new file mode 100644
index 00000000..0dc81b61
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql
@@ -0,0 +1,72 @@
+WITH base AS (
+ SELECT
+ mu.id,
+ mu.block_timestamp AS ts,
+ mu.block_number,
+ mu.transaction_hash,
+ m.id AS market_id,
+ m.market_symbol,
+
+ price / 1e18
+ AS price,
+
+ skew / 1e18
+ AS skew,
+
+ size / 1e18
+ AS SIZE,
+
+ size_delta / 1e18
+ AS size_delta,
+
+ current_funding_rate / 1e18
+ AS funding_rate,
+
+ current_funding_velocity / 1e18
+ AS funding_velocity,
+
+ interest_rate / 1e18
+ AS interest_rate,
+
+ current_funding_rate / 1e18
+ * 365.25 AS funding_rate_apr,
+
+ current_funding_rate / 1e18
+ * 365.25 +
+ interest_rate / 1e18
+ AS long_rate_apr,
+
+ current_funding_rate / 1e18
+ * -1 * 365.25 +
+ interest_rate / 1e18
+ AS short_rate_apr
+ FROM
+ "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+ mu
+ LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+ m
+ ON mu.market_id = m.id
+)
+SELECT
+ *,
+ SIZE * price AS size_usd,
+ (
+ SIZE + skew
+ ) * price / 2 AS long_oi,
+ (
+ SIZE - skew
+ ) * price / 2 AS short_oi,
+ CASE
+ WHEN SIZE * price = 0 THEN NULL
+ ELSE ((SIZE + skew) * price / 2) / (
+ SIZE * price
+ )
+ END AS long_oi_pct,
+ CASE
+ WHEN SIZE * price = 0 THEN NULL
+ ELSE ((SIZE - skew) * price / 2) / (
+ SIZE * price
+ )
+ END AS short_oi_pct
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql
new file mode 100644
index 00000000..f52dc13d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_markets_base_sepolia.sql
@@ -0,0 +1,14 @@
+WITH base AS (
+ SELECT
+ perps_market_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ market_symbol,
+ market_name
+ FROM
+ "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql
new file mode 100644
index 00000000..753b2665
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_orders_base_sepolia.sql
@@ -0,0 +1,46 @@
+WITH base AS (
+ SELECT
+ oc.id,
+ oc.block_timestamp AS ts,
+ oc.block_number,
+ oc.transaction_hash,
+ oc.contract,
+ oc.market_id,
+ markets.market_symbol,
+ CAST(
+ oc.account_id AS text
+ ) AS account_id,
+ oc.order_type,
+
+ oc.size_delta / 1e18
+ AS SIZE,
+
+ oc.acceptable_price / 1e18
+ AS acceptable_price,
+ oc.settlement_time,
+ oc.expiration_time,
+
+ LEFT(
+ REGEXP_REPLACE(
+ encode(
+ DECODE(REPLACE(oc.tracking_code, '0x', ''), 'hex'),
+ 'escape'
+ ) :: text,
+ '\\000',
+ '',
+ 'g'
+ ),
+ 20
+ )
+ AS tracking_code,
+ oc.sender
+ FROM
+ "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+ oc
+ LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" AS markets
+ ON oc.market_id = markets.id
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql
new file mode 100644
index 00000000..1127c2a2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql
@@ -0,0 +1,17 @@
+
+WITH debt AS (
+ SELECT
+ ts,
+ 2 AS market_id,
+ debt * -1 AS market_pnl
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+)
+SELECT
+ ts,
+ market_id,
+ market_pnl
+FROM
+ debt
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql
new file mode 100644
index 00000000..19e78675
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_previous_order_expired_base_sepolia.sql
@@ -0,0 +1,19 @@
+SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ account_id,
+ commitment_time,
+ tracking_code,
+
+ acceptable_price / 1e18
+ AS acceptable_price,
+
+ size_delta / 1e18
+ AS size_delta
+FROM
+ "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql
new file mode 100644
index 00000000..fefa8a17
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql
@@ -0,0 +1,69 @@
+WITH base AS (
+ SELECT
+ pos.id,
+ pos.block_timestamp AS ts,
+ pos.block_number,
+ pos.transaction_hash,
+ pos.contract,
+ pos.market_id,
+ markets.market_symbol,
+ CAST(
+ pos.account_id AS text
+ ) AS account_id,
+
+ fill_price / 1e18
+ AS fill_price,
+
+ pnl / 1e18
+ AS pnl,
+
+ accrued_funding / 1e18
+ AS accrued_funding,
+
+ size_delta / 1e18
+ AS trade_size,
+
+ new_size / 1e18
+ AS position_size,
+
+ total_fees / 1e18
+ AS total_fees,
+
+ referral_fees / 1e18
+ AS referral_fees,
+
+ collected_fees / 1e18
+ AS collected_fees,
+
+ settlement_reward / 1e18
+ AS settlement_reward,
+
+ LEFT(
+ REGEXP_REPLACE(
+ encode(
+ DECODE(REPLACE(tracking_code, '0x', ''), 'hex'),
+ 'escape'
+ ) :: text,
+ '\\000',
+ '',
+ 'g'
+ ),
+ 20
+ )
+ AS tracking_code,
+ pos.settler
+ FROM
+ "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia" AS pos
+ LEFT JOIN "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia" AS markets
+ ON pos.market_id = markets.id
+)
+SELECT
+ *,
+ ABS(
+ fill_price * trade_size
+ ) AS notional_trade_size,
+ fill_price * position_size AS notional_position_size,
+ total_fees - referral_fees - collected_fees - settlement_reward AS lp_fees,
+ total_fees - settlement_reward AS exchange_fees
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql
new file mode 100644
index 00000000..81707f94
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql
new file mode 100644
index 00000000..c1eee565
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql
new file mode 100644
index 00000000..c34f15b2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql
new file mode 100644
index 00000000..6209c8b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not interest >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql
new file mode 100644
index 00000000..6cbbcdfa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql
new file mode 100644
index 00000000..d74190fd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not lp_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql
new file mode 100644
index 00000000..ed04d3a3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not total_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql
new file mode 100644
index 00000000..2d979c67
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fill_price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql
new file mode 100644
index 00000000..551a7274
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql
new file mode 100644
index 00000000..a90f368e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql
new file mode 100644
index 00000000..2c636495
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql
new file mode 100644
index 00000000..a44d9f10
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql
new file mode 100644
index 00000000..edcab80c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_pnl_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql
new file mode 100644
index 00000000..33eb7b0b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql
new file mode 100644
index 00000000..07c35f07
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql
new file mode 100644
index 00000000..6ebf2bca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not settlement_reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql
new file mode 100644
index 00000000..342b65e3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql
new file mode 100644
index 00000000..62bde0cf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql
new file mode 100644
index 00000000..3f45e4ac
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not total_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql
new file mode 100644
index 00000000..9dc0a0ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql
new file mode 100644
index 00000000..1f30995d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not referral_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql
new file mode 100644
index 00000000..a417a57e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not exchange_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql
new file mode 100644
index 00000000..73d16063
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql
new file mode 100644
index 00000000..bf96723a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql
new file mode 100644
index 00000000..fb9f438f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql
new file mode 100644
index 00000000..181e0cd0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql
new file mode 100644
index 00000000..c60b4d21
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql
new file mode 100644
index 00000000..24b846d6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql
new file mode 100644
index 00000000..04192b12
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql
new file mode 100644
index 00000000..a58d2839
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql
new file mode 100644
index 00000000..64898808
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql
new file mode 100644
index 00000000..0502f2e1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql
new file mode 100644
index 00000000..10937815
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql
new file mode 100644
index 00000000..d05cf8e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql
new file mode 100644
index 00000000..0dae81a1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql
new file mode 100644
index 00000000..d2846ec5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql
new file mode 100644
index 00000000..057bdc97
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql
new file mode 100644
index 00000000..3e61f72d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..12751cd8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql
new file mode 100644
index 00000000..8a7f8b1a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql
new file mode 100644
index 00000000..dc9660a9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql
new file mode 100644
index 00000000..3f03291b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql
new file mode 100644
index 00000000..a682a487
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where interest is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql
new file mode 100644
index 00000000..62668c13
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql
new file mode 100644
index 00000000..a5ee176e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_reward
+from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia"
+where total_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql
new file mode 100644
index 00000000..d7ec7a50
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql
new file mode 100644
index 00000000..450cfa23
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql
new file mode 100644
index 00000000..8bb3e99e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql
new file mode 100644
index 00000000..b0ee724a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql
new file mode 100644
index 00000000..9c07519e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql
new file mode 100644
index 00000000..785d01f6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..7fbd1336
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql
new file mode 100644
index 00000000..85b88b44
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..26806788
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql
new file mode 100644
index 00000000..00476ba9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql
new file mode 100644
index 00000000..5efbaf9c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql
new file mode 100644
index 00000000..02b18a96
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where funding_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql
new file mode 100644
index 00000000..db9bf171
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_rate_apr
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where funding_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql
new file mode 100644
index 00000000..e4b036e1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select funding_velocity
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where funding_velocity is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql
new file mode 100644
index 00000000..39e4cc01
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql
new file mode 100644
index 00000000..686f7172
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql
new file mode 100644
index 00000000..65eb9189
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select long_rate_apr
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where long_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql
new file mode 100644
index 00000000..33595409
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..414987e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql
new file mode 100644
index 00000000..4eae7eaf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql
new file mode 100644
index 00000000..e4f431c0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select short_rate_apr
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where short_rate_apr is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql
new file mode 100644
index 00000000..b40c4019
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql
new file mode 100644
index 00000000..0f2c4561
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size_delta
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where size_delta is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql
new file mode 100644
index 00000000..f4e9e893
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select size_usd
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where size_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql
new file mode 100644
index 00000000..ea33dd5b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select skew
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where skew is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..629bc562
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql
new file mode 100644
index 00000000..1e3df181
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql
new file mode 100644
index 00000000..c92522b7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql
new file mode 100644
index 00000000..508ddccb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql
new file mode 100644
index 00000000..708de761
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql
new file mode 100644
index 00000000..864036bc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..331cf561
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql
new file mode 100644
index 00000000..95ba166e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql
new file mode 100644
index 00000000..b9e7f4e0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql
new file mode 100644
index 00000000..cba118ea
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql
new file mode 100644
index 00000000..b82610e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql
new file mode 100644
index 00000000..4e55cb7d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..e5a4e306
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..523bfe82
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql
new file mode 100644
index 00000000..4b60afdf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql
new file mode 100644
index 00000000..505456b4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_sepolia"."fct_perp_pnl_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql
new file mode 100644
index 00000000..9b88fdea
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_pnl_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql
new file mode 100644
index 00000000..7bdbd7e3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql
new file mode 100644
index 00000000..5f5dbfe5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql
new file mode 100644
index 00000000..b45a8a77
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql
new file mode 100644
index 00000000..a275b340
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql
new file mode 100644
index 00000000..07050cb3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql
new file mode 100644
index 00000000..3b569851
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql
new file mode 100644
index 00000000..62f1f24d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql
new file mode 100644
index 00000000..0dad6e00
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql
new file mode 100644
index 00000000..0e2544c0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql
new file mode 100644
index 00000000..26a20741
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select accrued_funding
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where accrued_funding is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql
new file mode 100644
index 00000000..968ca099
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql
new file mode 100644
index 00000000..a386d37e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql
new file mode 100644
index 00000000..4d20d49c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql
new file mode 100644
index 00000000..982595ad
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select exchange_fees
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where exchange_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql
new file mode 100644
index 00000000..a83dd427
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fill_price
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where fill_price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql
new file mode 100644
index 00000000..176d03fe
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql
new file mode 100644
index 00000000..e74f5687
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select lp_fees
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where lp_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql
new file mode 100644
index 00000000..b95b447b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..5e6bf21d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql
new file mode 100644
index 00000000..7e4e2a7e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_position_size
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where notional_position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql
new file mode 100644
index 00000000..6d375a8b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select notional_trade_size
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where notional_trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql
new file mode 100644
index 00000000..b80a2fce
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pnl
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql
new file mode 100644
index 00000000..9616d8a0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select position_size
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where position_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql
new file mode 100644
index 00000000..98b71111
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referral_fees
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where referral_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql
new file mode 100644
index 00000000..f7d6c671
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settlement_reward
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where settlement_reward is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql
new file mode 100644
index 00000000..384059b0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql
new file mode 100644
index 00000000..61c1b809
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select total_fees
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where total_fees is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql
new file mode 100644
index 00000000..157e661e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tracking_code
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where tracking_code is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql
new file mode 100644
index 00000000..338927b9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select trade_size
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where trade_size is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..50e8d676
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql
new file mode 100644
index 00000000..009dc8df
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_base_sepolia_id.sql
new file mode 100644
index 00000000..966ff8a6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_accounts_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_base_sepolia_id.sql
new file mode 100644
index 00000000..d94310a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_collateral_modified_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_collateral_modified_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_base_sepolia_id.sql
new file mode 100644
index 00000000..78bbaebc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_interest_charged_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_base_sepolia_id.sql
new file mode 100644
index 00000000..9612e0e1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_base_sepolia_id.sql
new file mode 100644
index 00000000..71675dcc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_base_sepolia_id.sql
new file mode 100644
index 00000000..9785af62
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_orders_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_base_sepolia_id.sql
new file mode 100644
index 00000000..4510d650
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_previous_order_expired_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_previous_order_expired_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_base_sepolia_id.sql
new file mode 100644
index 00000000..46276c7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql
new file mode 100644
index 00000000..0a1bd82f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql
@@ -0,0 +1,39 @@
+WITH daily AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ account_id,
+ SUM(fees) AS fees,
+ SUM(volume) AS volume,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_account_stats_hourly_base_sepolia"
+ GROUP BY
+ 1,
+ 2
+),
+stats AS (
+ SELECT
+ daily.*,
+ SUM(fees) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts RANGE BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS cumulative_fees,
+ SUM(volume) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts RANGE BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS cumulative_volume
+ FROM
+ daily
+)
+SELECT
+ *
+FROM
+ stats
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql
new file mode 100644
index 00000000..de26b133
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql
@@ -0,0 +1,108 @@
+WITH trades AS (
+ SELECT
+ ts,
+ account_id,
+ total_fees,
+ notional_trade_size,
+ 1 AS trades,
+ SUM(
+ total_fees
+ ) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts
+ ) AS cumulative_fees,
+ SUM(
+ notional_trade_size
+ ) over (
+ PARTITION BY account_id
+ ORDER BY
+ ts
+ ) AS cumulative_volume
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+liq AS (
+ SELECT
+ ts,
+ account_id,
+ amount_liquidated,
+ 1 AS liquidations
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+),
+inc_trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ account_id,
+ SUM(trades) AS trades,
+ SUM(total_fees) AS fees,
+ SUM(notional_trade_size) AS volume,
+ MAX(cumulative_fees) AS cumulative_fees,
+ MAX(cumulative_volume) AS cumulative_volume
+ FROM
+ trades
+ GROUP BY
+ 1,
+ 2
+),
+inc_liq AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ account_id,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations
+ FROM
+ liq
+ GROUP BY
+ 1,
+ 2
+),
+inc AS (
+ SELECT
+ h.ts,
+ h.account_id,
+ COALESCE(
+ h.trades,
+ 0
+ ) AS trades,
+ COALESCE(
+ h.fees,
+ 0
+ ) AS fees,
+ COALESCE(
+ h.volume,
+ 0
+ ) AS volume,
+ COALESCE(
+ l.amount_liquidated,
+ 0
+ ) AS amount_liquidated,
+ COALESCE(
+ l.liquidations,
+ 0
+ ) AS liquidations,
+ COALESCE(
+ h.cumulative_fees,
+ 0
+ ) AS cumulative_fees,
+ COALESCE(
+ h.cumulative_volume,
+ 0
+ ) AS cumulative_volume
+ FROM
+ inc_trades h
+ LEFT JOIN inc_liq l
+ ON h.ts = l.ts
+ AND h.account_id = l.account_id
+)
+SELECT
+ *
+FROM
+ inc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql
new file mode 100644
index 00000000..05b87503
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql
@@ -0,0 +1,40 @@
+WITH hourly AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ keeper,
+ settlement_rewards,
+ amount_settled,
+ trades
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_keeper_stats_hourly_base_sepolia"
+),
+total AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades_total,
+ SUM(settlement_rewards) AS settlement_reward_total,
+ SUM(amount_settled) AS amount_settled_total
+ FROM
+ hourly
+ GROUP BY
+ 1
+)
+SELECT
+ hourly.ts,
+ keeper,
+ SUM(trades) AS trades,
+ SUM(settlement_rewards) AS settlement_rewards,
+ SUM(amount_settled) AS amount_settled,
+ SUM(trades) / MAX(trades_total) AS trades_pct,
+ SUM(settlement_rewards) / MAX(settlement_reward_total) AS settlement_rewards_pct,
+ SUM(amount_settled) / MAX(amount_settled_total) AS amount_settled_pct
+FROM
+ hourly
+ JOIN total
+ ON hourly.ts = total.ts
+GROUP BY
+ 1,
+ 2
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql
new file mode 100644
index 00000000..e227dfa1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql
@@ -0,0 +1,40 @@
+WITH trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ settler,
+ settlement_reward,
+ notional_trade_size,
+ 1 AS trades
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+total AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades_total,
+ SUM(settlement_reward) AS settlement_reward_total,
+ SUM(notional_trade_size) AS notional_trade_size_total
+ FROM
+ trades
+ GROUP BY
+ 1
+)
+SELECT
+ trades.ts,
+ settler AS keeper,
+ SUM(trades) AS trades,
+ SUM(settlement_reward) AS settlement_rewards,
+ SUM(notional_trade_size) AS amount_settled,
+ SUM(trades) / MAX(trades_total) AS trades_pct,
+ SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,
+ SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct
+FROM
+ trades
+ JOIN total
+ ON trades.ts = total.ts
+GROUP BY
+ 1,
+ 2
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql
new file mode 100644
index 00000000..0a4495ca
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql
@@ -0,0 +1,22 @@
+SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ market_symbol,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations,
+ MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,
+ MAX(cumulative_referral_fees) AS cumulative_referral_fees,
+ MAX(cumulative_collected_fees) AS cumulative_collected_fees,
+ MAX(cumulative_volume) AS cumulative_volume
+FROM
+ "analytics"."prod_base_sepolia"."fct_perp_market_stats_hourly_base_sepolia"
+GROUP BY
+ 1,
+ 2
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql
new file mode 100644
index 00000000..22877570
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql
@@ -0,0 +1,147 @@
+WITH trades AS (
+ SELECT
+ ts,
+ market_symbol,
+ exchange_fees,
+ referral_fees,
+ collected_fees,
+ notional_trade_size,
+ 1 AS trades
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+),
+liq AS (
+ SELECT
+ ts,
+ market_symbol,
+ amount_liquidated,
+ 1 AS liquidations
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_liq_position_base_sepolia"
+),
+inc_trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(notional_trade_size) AS volume
+ FROM
+ trades
+ GROUP BY
+ 1,
+ 2
+),
+inc_liq AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ SUM(amount_liquidated) AS amount_liquidated,
+ SUM(liquidations) AS liquidations
+ FROM
+ liq
+ GROUP BY
+ 1,
+ 2
+),
+dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.market_symbol
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ trades
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT market_symbol
+ FROM
+ trades
+ ) AS m
+ GROUP BY
+ m.market_symbol
+),
+inc AS (
+ SELECT
+ dim.ts,
+ dim.market_symbol,
+ COALESCE(
+ h.trades,
+ 0
+ ) AS trades,
+ COALESCE(
+ h.exchange_fees,
+ 0
+ ) AS exchange_fees,
+ COALESCE(
+ h.referral_fees,
+ 0
+ ) AS referral_fees,
+ COALESCE(
+ h.collected_fees,
+ 0
+ ) AS collected_fees,
+ COALESCE(
+ h.volume,
+ 0
+ ) AS volume,
+ COALESCE(
+ l.amount_liquidated,
+ 0
+ ) AS amount_liquidated,
+ COALESCE(
+ l.liquidations,
+ 0
+ ) AS liquidations,
+ SUM(
+ h.exchange_fees
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_exchange_fees,
+ SUM(
+ h.referral_fees
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_referral_fees,
+ SUM(
+ h.collected_fees
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_collected_fees,
+ SUM(
+ h.volume
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS cumulative_volume
+ FROM
+ dim
+ LEFT JOIN inc_trades h
+ ON dim.ts = h.ts
+ AND dim.market_symbol = h.market_symbol
+ LEFT JOIN inc_liq l
+ ON dim.ts = l.ts
+ AND dim.market_symbol = l.market_symbol
+)
+SELECT
+ *
+FROM
+ inc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql
new file mode 100644
index 00000000..32ddf64d
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql
@@ -0,0 +1,20 @@
+SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(liquidation_rewards) AS liquidation_rewards,
+ SUM(liquidated_accounts) AS liquidated_accounts,
+ MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,
+ MAX(cumulative_referral_fees) AS cumulative_referral_fees,
+ MAX(cumulative_collected_fees) AS cumulative_collected_fees,
+ MAX(cumulative_volume) AS cumulative_volume
+FROM
+ "analytics"."prod_base_sepolia"."fct_perp_stats_hourly_base_sepolia"
+GROUP BY
+ 1
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql
new file mode 100644
index 00000000..25d88456
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql
@@ -0,0 +1,84 @@
+WITH inc_market AS (
+ SELECT
+ ts,
+ market_symbol,
+ trades,
+ exchange_fees,
+ referral_fees,
+ collected_fees,
+ volume,
+ liquidations,
+ cumulative_exchange_fees,
+ cumulative_referral_fees,
+ cumulative_collected_fees,
+ cumulative_volume
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_market_stats_hourly_base_sepolia"
+),
+liq AS (
+ SELECT
+ ts,
+ total_reward,
+ 1 AS liquidated_accounts
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_liq_account_base_sepolia"
+),
+inc_liq AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ SUM(total_reward) AS liquidation_rewards,
+ SUM(liquidated_accounts) AS liquidated_accounts
+ FROM
+ liq
+ GROUP BY
+ 1
+),
+inc_trade AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(cumulative_exchange_fees) AS cumulative_exchange_fees,
+ SUM(cumulative_referral_fees) AS cumulative_referral_fees,
+ SUM(cumulative_collected_fees) AS cumulative_collected_fees,
+ SUM(cumulative_volume) AS cumulative_volume
+ FROM
+ inc_market
+ GROUP BY
+ 1
+),
+inc AS (
+ SELECT
+ h.ts,
+ h.trades,
+ h.exchange_fees,
+ h.referral_fees,
+ h.collected_fees,
+ h.volume,
+ COALESCE(
+ l.liquidation_rewards,
+ 0
+ ) AS liquidation_rewards,
+ COALESCE(
+ l.liquidated_accounts,
+ 0
+ ) AS liquidated_accounts,
+ h.cumulative_exchange_fees,
+ h.cumulative_referral_fees,
+ h.cumulative_collected_fees,
+ h.cumulative_volume
+ FROM
+ inc_trade h
+ LEFT JOIN inc_liq l
+ ON h.ts = l.ts
+)
+SELECT
+ *
+FROM
+ inc
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql
new file mode 100644
index 00000000..97d63dc6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql
@@ -0,0 +1,83 @@
+WITH trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ tracking_code,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(volume) AS volume,
+ SUM(trades) AS trades
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_tracking_stats_hourly_base_sepolia"
+ GROUP BY
+ 1,
+ 2
+),
+accounts AS (
+ SELECT
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) AS ts,
+ tracking_code,
+ COUNT(
+ DISTINCT account_id
+ ) AS accounts
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+ GROUP BY
+ 1,
+ 2
+),
+total AS (
+ SELECT
+ ts,
+ SUM(exchange_fees) AS exchange_fees_total,
+ SUM(referral_fees) AS referral_fees_total,
+ SUM(collected_fees) AS collected_fees_total,
+ SUM(volume) AS volume_total,
+ SUM(trades) AS trades_total
+ FROM
+ trades
+ GROUP BY
+ 1
+)
+SELECT
+ trades.ts,
+ trades.tracking_code,
+ trades.exchange_fees,
+ trades.referral_fees,
+ trades.collected_fees,
+ trades.volume,
+ trades.trades,
+ accounts.accounts,
+ CASE
+ WHEN total.exchange_fees_total = 0 THEN 0
+ ELSE trades.exchange_fees / total.exchange_fees_total
+ END AS exchange_fees_share,
+ CASE
+ WHEN total.referral_fees_total = 0 THEN 0
+ ELSE trades.referral_fees / total.referral_fees_total
+ END AS referral_fees_share,
+ CASE
+ WHEN total.collected_fees_total = 0 THEN 0
+ ELSE trades.collected_fees / total.collected_fees_total
+ END AS collected_fees_share,
+ CASE
+ WHEN total.volume_total = 0 THEN 0
+ ELSE trades.volume / total.volume_total
+ END AS volume_share,
+ CASE
+ WHEN total.trades_total = 0 THEN 0
+ ELSE trades.trades / total.trades_total
+ END AS trades_share
+FROM
+ trades
+ JOIN accounts
+ ON trades.ts = accounts.ts
+ AND trades.tracking_code = accounts.tracking_code
+ JOIN total
+ ON trades.ts = total.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql
new file mode 100644
index 00000000..8edc94b3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql
@@ -0,0 +1,83 @@
+WITH trades AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ tracking_code,
+ SUM(exchange_fees) AS exchange_fees,
+ SUM(referral_fees) AS referral_fees,
+ SUM(collected_fees) AS collected_fees,
+ SUM(notional_trade_size) AS volume,
+ SUM(1) AS trades
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+ GROUP BY
+ 1,
+ 2
+),
+accounts AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ tracking_code,
+ COUNT(
+ DISTINCT account_id
+ ) AS accounts
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_trades_base_sepolia"
+ GROUP BY
+ 1,
+ 2
+),
+total AS (
+ SELECT
+ ts,
+ SUM(trades) AS trades_total,
+ SUM(exchange_fees) AS exchange_fees_total,
+ SUM(referral_fees) AS referral_fees_total,
+ SUM(collected_fees) AS collected_fees_total,
+ SUM(volume) AS volume_total
+ FROM
+ trades
+ GROUP BY
+ 1
+)
+SELECT
+ trades.ts,
+ trades.tracking_code,
+ trades.exchange_fees,
+ trades.referral_fees,
+ trades.collected_fees,
+ trades.volume,
+ trades.trades,
+ accounts.accounts,
+ CASE
+ WHEN total.exchange_fees_total = 0 THEN 0
+ ELSE trades.exchange_fees / total.exchange_fees_total
+ END AS exchange_fees_share,
+ CASE
+ WHEN total.referral_fees_total = 0 THEN 0
+ ELSE trades.referral_fees / total.referral_fees_total
+ END AS referral_fees_share,
+ CASE
+ WHEN total.collected_fees_total = 0 THEN 0
+ ELSE trades.collected_fees / total.collected_fees_total
+ END AS collected_fees_share,
+ CASE
+ WHEN total.volume_total = 0 THEN 0
+ ELSE trades.volume / total.volume_total
+ END AS volume_share,
+ CASE
+ WHEN total.trades_total = 0 THEN 0
+ ELSE trades.trades / total.trades_total
+ END AS trades_share
+FROM
+ trades
+ JOIN accounts
+ ON trades.ts = accounts.ts
+ AND trades.tracking_code = accounts.tracking_code
+ JOIN total
+ ON trades.ts = total.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql
new file mode 100644
index 00000000..3241bea9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql
@@ -0,0 +1,52 @@
+WITH all_prices AS (
+ SELECT
+ ts,
+ NULL AS market_address,
+ market_symbol,
+ price
+ FROM
+ "analytics"."prod_base_sepolia"."fct_perp_market_history_base_sepolia"
+ UNION ALL
+ SELECT
+ ts,
+ NULL AS market_address,
+ 'SNX' AS market_symbol,
+ snx_price AS price
+ FROM
+ "analytics"."prod_base_sepolia"."fct_buyback_base_sepolia"
+ WHERE
+ snx_price > 0
+ UNION ALL
+ SELECT
+ ts,
+ collateral_type AS market_address,
+ NULL AS market_symbol,
+ collateral_value / amount AS price
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+ WHERE
+ collateral_value > 0
+),
+tokens AS (
+ SELECT
+ token_address,
+ token_symbol
+ FROM
+ "analytics"."prod_seeds"."base_sepolia_tokens"
+)
+SELECT
+ p.ts,
+ p.market_address,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) AS market_symbol,
+ p.price
+FROM
+ all_prices p
+ LEFT JOIN tokens t
+ ON LOWER(
+ p.market_address
+ ) = LOWER(
+ t.token_address
+ )
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql
new file mode 100644
index 00000000..73eb6c6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql
@@ -0,0 +1,74 @@
+WITH prices AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS price
+ FROM
+ "analytics"."prod_base_sepolia"."fct_prices_base_sepolia"
+),
+dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.market_symbol
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ prices
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT market_symbol
+ FROM
+ prices
+ ) AS m
+ GROUP BY
+ m.market_symbol
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.market_symbol,
+ prices.price,
+ SUM(
+ CASE
+ WHEN prices.price IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS price_id
+ FROM
+ dim
+ LEFT JOIN prices
+ ON dim.ts = prices.ts
+ AND dim.market_symbol = prices.market_symbol
+),
+hourly_prices AS (
+ SELECT
+ ts,
+ market_symbol,
+ FIRST_VALUE(price) over (
+ PARTITION BY price_id,
+ market_symbol
+ ORDER BY
+ ts
+ ) AS price
+ FROM
+ ffill
+)
+SELECT
+ *
+FROM
+ hourly_prices
+WHERE
+ price IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql
new file mode 100644
index 00000000..b0fe78ee
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql
new file mode 100644
index 00000000..06d01a01
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..f9a57e8e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql
new file mode 100644
index 00000000..00a976c2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql
new file mode 100644
index 00000000..da1e2084
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_prices_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..670b780e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql
new file mode 100644
index 00000000..69100aa2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql
new file mode 100644
index 00000000..407d7721
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_prices_hourly_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql
new file mode 100644
index 00000000..8c644343
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql
@@ -0,0 +1,59 @@
+WITH bought AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+
+ synth_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+),
+sold AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ price / 1e18
+ AS price,
+ -1 *
+ amount_returned / 1e18
+ AS amount,
+ referrer
+ FROM
+ "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ bought
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ price,
+ amount,
+ referrer
+FROM
+ sold
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql
new file mode 100644
index 00000000..04037a99
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ synth_market_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ synth_token_address AS token_address
+ FROM
+ "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql
new file mode 100644
index 00000000..3bb400e1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql
@@ -0,0 +1,47 @@
+WITH wraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+
+ amount_wrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+),
+unwraps AS (
+ SELECT
+ id,
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash AS tx_hash,
+ synth_market_id,
+ -1 *
+ amount_unwrapped / 1e18
+ AS amount_wrapped
+ FROM
+ "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+)
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ wraps
+UNION ALL
+SELECT
+ id,
+ ts,
+ block_number,
+ tx_hash,
+ synth_market_id,
+ amount_wrapped
+FROM
+ unwraps
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql b/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql
new file mode 100644
index 00000000..a7b1aab8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql
@@ -0,0 +1,75 @@
+WITH wrapper AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount_wrapped AS change_amount
+ FROM
+ "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+),
+atomics AS (
+ SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ amount AS change_amount
+ FROM
+ "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+ UNION ALL
+ SELECT
+ ts,
+ block_number,
+ 0 AS synth_market_id,
+ amount * price * -1 AS change_amount
+ FROM
+ "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+),
+usd_changes AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+ UNION ALL
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ 0 AS synth_market_id,
+ -1 *
+ amount / 1e18
+ AS change_amount
+ FROM
+ "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+),
+all_changes AS (
+ SELECT
+ *
+ FROM
+ wrapper
+ UNION ALL
+ SELECT
+ *
+ FROM
+ atomics
+ UNION ALL
+ SELECT
+ *
+ FROM
+ usd_changes
+)
+SELECT
+ ts,
+ block_number,
+ synth_market_id,
+ SUM(change_amount) over (
+ PARTITION BY synth_market_id
+ ORDER BY
+ ts,
+ block_number
+ ) AS supply
+FROM
+ all_changes
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql
new file mode 100644
index 00000000..e340f004
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql
new file mode 100644
index 00000000..a3be8767
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql
new file mode 100644
index 00000000..3135870e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql
new file mode 100644
index 00000000..e0090c21
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql
new file mode 100644
index 00000000..f9823f6f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql
new file mode 100644
index 00000000..8dea7ea3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql
new file mode 100644
index 00000000..ac765902
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql
new file mode 100644
index 00000000..4b8da8fc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql
new file mode 100644
index 00000000..771ed809
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..32176adb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql
new file mode 100644
index 00000000..03f78bae
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql
new file mode 100644
index 00000000..778d85fb
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql
new file mode 100644
index 00000000..d239c1c2
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql
new file mode 100644
index 00000000..ba0fe5d8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql
new file mode 100644
index 00000000..bffbf2b5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql
new file mode 100644
index 00000000..651157e0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_base_sepolia"."fct_spot_markets_base_sepolia"
+where token_address is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql
new file mode 100644
index 00000000..47caad28
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_wrapped
+from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+where amount_wrapped is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql
new file mode 100644
index 00000000..977e653c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql
new file mode 100644
index 00000000..16d23e8c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..e4a82656
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql
new file mode 100644
index 00000000..27c68eaa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql
new file mode 100644
index 00000000..898195fa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select tx_hash
+from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+where tx_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql
new file mode 100644
index 00000000..9384d22c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql
new file mode 100644
index 00000000..70f232ae
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select supply
+from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia"
+where supply is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..224aa8ec
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql
new file mode 100644
index 00000000..fbefe2fd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_base_sepolia"."fct_synth_supply_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_base_sepolia_id.sql
new file mode 100644
index 00000000..6841be58
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_spot_atomics_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_base_sepolia_id.sql b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_base_sepolia_id.sql
new file mode 100644
index 00000000..29563d7e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_base_sepolia"."fct_spot_wrapper_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql
new file mode 100644
index 00000000..0d4673f7
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql
@@ -0,0 +1,58 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated,
+ ROW_NUMBER() over (
+ PARTITION BY pool_id,
+ account_id,
+ collateral_type
+ ORDER BY
+ block_timestamp DESC
+ ) AS rn
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ CAST(
+ account_id AS text
+ ) AS account_id,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+WHERE
+ rn = 1
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql
new file mode 100644
index 00000000..e64766e6
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql
@@ -0,0 +1,212 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_pnl,
+ hourly_issuance,
+ hourly_debt_migrated,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct,
+ SUM(
+ COALESCE(
+ hourly_issuance,
+ 0
+ )
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_issuance,
+ SUM(
+ hourly_pnl
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS cumulative_pnl
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_pnl_pct,
+ AVG(
+ hourly_pnl_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_pnl_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_total_pct,
+ AVG(
+ hourly_total_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_total_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.debt AS debt,
+ pnl_hourly.hourly_pnl AS hourly_pnl,
+ pnl_hourly.cumulative_pnl AS cumulative_pnl,
+ pnl_hourly.hourly_issuance AS hourly_issuance,
+ pnl_hourly.hourly_debt_migrated AS hourly_debt_migrated,
+ pnl_hourly.cumulative_issuance AS cumulative_issuance,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_pnl_pct AS hourly_pnl_pct,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ -- total pnls
+ avg_returns.avg_24h_total_pct * 24 * 365 AS apr_24h,
+ avg_returns.avg_7d_total_pct * 24 * 365 AS apr_7d,
+ avg_returns.avg_28d_total_pct * 24 * 365 AS apr_28d,
+ -- pool pnls
+ avg_returns.avg_24h_pnl_pct * 24 * 365 AS apr_24h_pnl,
+ avg_returns.avg_7d_pnl_pct * 24 * 365 AS apr_7d_pnl,
+ avg_returns.avg_28d_pnl_pct * 24 * 365 AS apr_28d_pnl,
+ -- rewards pnls
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h / 8760, 8760) - 1) AS apy_24h,
+ (power(1 + apr_7d / 8760, 8760) - 1) AS apy_7d,
+ (power(1 + apr_28d / 8760, 8760) - 1) AS apy_28d,
+ (power(1 + apr_24h_pnl / 8760, 8760) - 1) AS apy_24h_pnl,
+ (power(1 + apr_7d_pnl / 8760, 8760) - 1) AS apy_7d_pnl,
+ (power(1 + apr_28d_pnl / 8760, 8760) - 1) AS apy_28d_pnl,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_debt_migrated,
+ hourly_pnl,
+ cumulative_pnl,
+ cumulative_issuance,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ apr_24h,
+ apy_24h,
+ apr_7d,
+ apy_7d,
+ apr_28d,
+ apy_28d,
+ apr_24h_pnl,
+ apy_24h_pnl,
+ apr_7d_pnl,
+ apy_7d_pnl,
+ apr_28d_pnl,
+ apy_28d_pnl,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql
new file mode 100644
index 00000000..e7fdda42
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql
@@ -0,0 +1,100 @@
+
+
+WITH pnl_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_reward_eth_mainnet"
+),
+avg_returns AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '24 HOURS' preceding
+ AND CURRENT ROW
+ ) AS avg_24h_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '7 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_7d_rewards_pct,
+ AVG(
+ hourly_rewards_pct
+ ) over (
+ PARTITION BY pool_id,
+ collateral_type,
+ reward_token
+ ORDER BY
+ ts RANGE BETWEEN INTERVAL '28 DAYS' preceding
+ AND CURRENT ROW
+ ) AS avg_28d_rewards_pct
+ FROM
+ pnl_hourly
+),
+apr_calculations AS (
+ SELECT
+ pnl_hourly.ts AS ts,
+ pnl_hourly.pool_id AS pool_id,
+ pnl_hourly.collateral_type AS collateral_type,
+ pnl_hourly.reward_token AS reward_token,
+ pnl_hourly.collateral_value AS collateral_value,
+ pnl_hourly.rewards_usd AS rewards_usd,
+ pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,
+ avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,
+ avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,
+ avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards
+ FROM
+ pnl_hourly
+ JOIN avg_returns
+ ON pnl_hourly.ts = avg_returns.ts
+ AND pnl_hourly.pool_id = avg_returns.pool_id
+ AND pnl_hourly.collateral_type = avg_returns.collateral_type
+ AND pnl_hourly.reward_token = avg_returns.reward_token
+),
+apy_calculations AS (
+ SELECT
+ *,
+ (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,
+ (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,
+ (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards
+ FROM
+ apr_calculations
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ reward_token,
+ collateral_value,
+ rewards_usd,
+ hourly_rewards_pct,
+ apr_24h_rewards,
+ apy_24h_rewards,
+ apr_7d_rewards,
+ apy_7d_rewards,
+ apr_28d_rewards,
+ apy_28d_rewards
+FROM
+ apy_calculations
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql
new file mode 100644
index 00000000..e02430c7
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql
@@ -0,0 +1,35 @@
+WITH market_updated AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+)
+SELECT
+ id,
+ block_timestamp AS ts,
+ transaction_hash,
+ event_name,
+ market_id,
+ collateral_type,
+
+ credit_capacity / 1e18
+ AS credit_capacity,
+
+ net_issuance / 1e18
+ AS net_issuance,
+
+ token_amount / 1e18
+ AS token_amount
+FROM
+ market_updated
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql
new file mode 100644
index 00000000..327f22d2
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql
@@ -0,0 +1,17 @@
+SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ 1 as pool_id, -- Spartan Council pool
+ '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type, -- SNX collateral
+ staker,
+ account_id,
+
+ collateral_amount / 1e18
+ as collateral_amount,
+
+ debt_amount / 1e18
+ as debt_amount
+FROM
+ "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+ORDER BY block_timestamp
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql
new file mode 100644
index 00000000..ec25d400
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql
@@ -0,0 +1,76 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+max_debt_block AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS HOUR,
+ pool_id,
+ collateral_type,
+ MAX(block_number) AS max_block_number
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ GROUP BY
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+),
+migration AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ SUM(debt_amount) AS hourly_debt_migrated
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+ GROUP BY
+ 1,
+ 2,
+ 3
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ COALESCE(
+ m.hourly_debt_migrated,
+ 0
+ ) AS hourly_debt_migrated
+FROM
+ dim
+ LEFT JOIN migration m
+ ON dim.pool_id = m.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ m.collateral_type
+ )
+ AND dim.ts = m.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql
new file mode 100644
index 00000000..15a5cd30
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql
@@ -0,0 +1,39 @@
+WITH events AS (
+ SELECT
+ block_timestamp,
+
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+ UNION ALL
+ SELECT
+ block_timestamp,-
+ token_amount / 1e18
+ AS token_amount,
+ collateral_type
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+),
+ranked_events AS (
+ SELECT
+ *,
+ SUM(token_amount) over (
+ PARTITION BY collateral_type
+ ORDER BY
+ block_timestamp rows BETWEEN unbounded preceding
+ AND CURRENT ROW
+ ) AS amount_deposited
+ FROM
+ events
+)
+SELECT
+ block_timestamp AS ts,
+ collateral_type,
+ amount_deposited
+FROM
+ ranked_events
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql
new file mode 100644
index 00000000..a61eabdc
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql
@@ -0,0 +1,44 @@
+WITH delegation_changes AS (
+ SELECT
+ block_timestamp,
+ account_id,
+ pool_id,
+ collateral_type,
+
+ amount / 1e18
+ - LAG(
+ amount / 1e18
+, 1, 0) over (
+ PARTITION BY account_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS change_in_amount
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+cumulative_delegation AS (
+ SELECT
+ block_timestamp,
+ pool_id,
+ collateral_type,
+ SUM(change_in_amount) over (
+ PARTITION BY pool_id,
+ collateral_type
+ ORDER BY
+ block_timestamp
+ ) AS cumulative_amount_delegated
+ FROM
+ delegation_changes
+)
+SELECT
+ block_timestamp AS ts,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated AS amount_delegated
+FROM
+ cumulative_delegation
+ORDER BY
+ block_timestamp,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql
new file mode 100644
index 00000000..a5de9708
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql
@@ -0,0 +1,13 @@
+WITH base AS (
+ SELECT
+ pool_id AS id,
+ block_timestamp AS created_ts,
+ block_number,
+ owner
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+)
+SELECT
+ *
+FROM
+ base
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql
new file mode 100644
index 00000000..fd430fac
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql
@@ -0,0 +1,10 @@
+SELECT
+ ts,
+ block_number,
+ pool_id,
+ collateral_type,
+ debt
+FROM
+ "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql
new file mode 100644
index 00000000..eaa0e1d2
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql
@@ -0,0 +1,43 @@
+WITH burns AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+ -1 *
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+ ORDER BY
+ block_timestamp DESC
+),
+mints AS (
+ SELECT
+ block_timestamp AS ts,
+ block_number,
+ transaction_hash,
+ pool_id,
+ collateral_type,
+ account_id,
+
+ amount / 1e18
+ AS amount
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+ ORDER BY
+ block_timestamp DESC
+)
+SELECT
+ *
+FROM
+ burns
+UNION ALL
+SELECT
+ *
+FROM
+ mints
+ORDER BY
+ ts DESC
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql
new file mode 100644
index 00000000..2468cb4e
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql
@@ -0,0 +1,110 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+max_debt_block AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS HOUR,
+ pool_id,
+ collateral_type,
+ MAX(block_number) AS max_block_number
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ GROUP BY
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+),
+filt_issuance AS (
+ SELECT
+ CASE
+ WHEN i.block_number <= d.max_block_number
+ OR d.max_block_number IS NULL THEN i.ts
+ ELSE i.ts + INTERVAL '1 hour'
+ END AS ts,
+ i.pool_id,
+ i.collateral_type,
+ i.amount
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+ i
+ LEFT JOIN max_debt_block d
+ ON DATE_TRUNC(
+ 'hour',
+ i.ts
+ ) = d.hour
+ AND i.pool_id = d.pool_id
+ AND LOWER(
+ i.collateral_type
+ ) = LOWER(
+ d.collateral_type
+ )
+ WHERE
+ i.block_number <= (
+ SELECT
+ MAX(
+ max_block_number
+ )
+ FROM
+ max_debt_block
+ )
+),
+issuance AS (
+ SELECT
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ SUM(amount) AS hourly_issuance
+ FROM
+ filt_issuance
+ GROUP BY
+ 1,
+ 2,
+ 3
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ COALESCE(
+ i.hourly_issuance,
+ 0
+ ) AS hourly_issuance
+FROM
+ dim
+ LEFT JOIN issuance i
+ ON dim.pool_id = i.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ i.collateral_type
+ )
+ AND dim.ts = i.ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql
new file mode 100644
index 00000000..f13fd394
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql
@@ -0,0 +1,235 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ p.pool_id,
+ p.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ ) AS p
+ GROUP BY
+ p.pool_id,
+ p.collateral_type
+),
+issuance AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ hourly_issuance
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet"
+),
+debt AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(debt) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS debt
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+),
+collateral AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ pool_id,
+ collateral_type,
+ LAST_VALUE(collateral_value) over (PARTITION BY DATE_TRUNC('hour', ts), pool_id, collateral_type
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS collateral_value
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+ WHERE
+ pool_id = 1
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ debt.debt,
+ collateral.collateral_value,
+ SUM(
+ CASE
+ WHEN debt.debt IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS debt_id,
+ SUM(
+ CASE
+ WHEN collateral.collateral_value IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ ORDER BY
+ dim.ts
+ ) AS collateral_id
+ FROM
+ dim
+ LEFT JOIN debt
+ ON dim.ts = debt.ts
+ AND dim.pool_id = debt.pool_id
+ AND dim.collateral_type = debt.collateral_type
+ LEFT JOIN collateral
+ ON dim.ts = collateral.ts
+ AND dim.pool_id = collateral.pool_id
+ AND dim.collateral_type = collateral.collateral_type
+),
+hourly_index AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ FIRST_VALUE(COALESCE(debt, 0)) over (
+ PARTITION BY debt_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS debt,
+ FIRST_VALUE(COALESCE(collateral_value, 0)) over (
+ PARTITION BY collateral_id,
+ pool_id,
+ collateral_type
+ ORDER BY
+ ts
+ ) AS collateral_value
+ FROM
+ ffill
+),
+hourly_pnl AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ COALESCE(LAG(debt) over (PARTITION BY pool_id, collateral_type
+ ORDER BY
+ ts) - debt, 0) AS hourly_pnl
+ FROM
+ hourly_index
+),
+hourly_rewards AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet"
+),
+hourly_migration AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ hourly_debt_migrated
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet"
+),
+hourly_returns AS (
+ SELECT
+ pnl.ts,
+ pnl.pool_id,
+ pnl.collateral_type,
+ pnl.collateral_value,
+ pnl.debt,
+ COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) hourly_issuance,
+ COALESCE(
+ migration.hourly_debt_migrated,
+ 0
+ ) AS hourly_debt_migrated,
+ pnl.hourly_pnl + COALESCE(
+ iss.hourly_issuance,
+ 0
+ ) + COALESCE(
+ migration.hourly_debt_migrated,
+ 0
+ ) AS hourly_pnl,
+ COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ rewards.rewards_usd,
+ 0
+ ) / pnl.collateral_value
+ END AS hourly_rewards_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(iss.hourly_issuance, 0) + pnl.hourly_pnl + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value
+ END AS hourly_pnl_pct,
+ CASE
+ WHEN pnl.collateral_value = 0 THEN 0
+ ELSE (COALESCE(rewards.rewards_usd, 0) + pnl.hourly_pnl + COALESCE(iss.hourly_issuance, 0) + COALESCE(migration.hourly_debt_migrated, 0)) / pnl.collateral_value
+ END AS hourly_total_pct
+ FROM
+ hourly_pnl pnl
+ LEFT JOIN hourly_rewards rewards
+ ON pnl.ts = rewards.ts
+ AND pnl.pool_id = rewards.pool_id
+ AND pnl.collateral_type = rewards.collateral_type
+ LEFT JOIN issuance iss
+ ON pnl.ts = iss.ts
+ AND pnl.pool_id = iss.pool_id
+ AND LOWER(
+ pnl.collateral_type
+ ) = LOWER(
+ iss.collateral_type
+ )
+ LEFT JOIN hourly_migration migration
+ ON pnl.ts = migration.ts
+ AND pnl.pool_id = migration.pool_id
+ AND LOWER(
+ pnl.collateral_type
+ ) = LOWER(
+ migration.collateral_type
+ )
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ collateral_value,
+ debt,
+ hourly_issuance,
+ hourly_pnl,
+ hourly_debt_migrated,
+ rewards_usd,
+ hourly_pnl_pct,
+ hourly_rewards_pct,
+ hourly_total_pct
+FROM
+ hourly_returns
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql
new file mode 100644
index 00000000..e824f4ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql
@@ -0,0 +1,78 @@
+
+
+WITH dim AS (
+
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol AS reward_token
+ FROM
+ (
+ SELECT
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+ group by
+ ts,
+ collateral_type,
+ pool_id,
+ collateral_value
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT token_symbol
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+ ) AS p
+ GROUP BY
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol
+),
+reward_hourly_token AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol AS reward_token,
+ SUM(
+ rewards_usd
+ ) AS rewards_usd
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+ GROUP BY
+ ts,
+ pool_id,
+ collateral_type,
+ token_symbol
+)
+SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ dim.collateral_value,
+ dim.reward_token,
+ COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) AS rewards_usd,
+ CASE
+ WHEN dim.collateral_value = 0 THEN 0
+ ELSE COALESCE(
+ reward_hourly_token.rewards_usd,
+ 0
+ ) / dim.collateral_value
+ END AS hourly_rewards_pct
+FROM
+ dim
+ LEFT JOIN reward_hourly_token
+ ON dim.ts = reward_hourly_token.ts
+ AND dim.pool_id = reward_hourly_token.pool_id
+ AND dim.collateral_type = reward_hourly_token.collateral_type
+ and dim.reward_token = reward_hourly_token.reward_token
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql
new file mode 100644
index 00000000..97295087
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql
@@ -0,0 +1,37 @@
+WITH rewards_distributed AS (
+ SELECT
+ block_timestamp AS ts,
+ CAST(
+ pool_id AS INTEGER
+ ) AS pool_id,
+ collateral_type,
+ distributor,
+
+ amount / 1e18
+ AS amount,
+ TO_TIMESTAMP("start") AS ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+),
+distributors AS (
+ SELECT
+ CAST(distributor_address AS TEXT) AS distributor_address,
+ CAST(token_symbol AS TEXT) AS token_symbol
+ FROM
+ "analytics"."prod_seeds"."eth_mainnet_reward_distributors"
+)
+SELECT
+ rd.ts,
+ rd.pool_id,
+ rd.collateral_type,
+ rd.distributor,
+ distributors.token_symbol,
+ rd.amount,
+ rd.ts_start,
+ rd.duration
+FROM
+ rewards_distributed rd
+ join distributors on rd.distributor = distributors.distributor_address
+ORDER BY
+ ts
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql
new file mode 100644
index 00000000..4347cb16
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql
@@ -0,0 +1,20 @@
+WITH token_hourly AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ rewards_usd
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+)
+SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ SUM(rewards_usd) AS rewards_usd
+FROM
+ token_hourly
+GROUP BY
+ ts,
+ pool_id,
+ collateral_type
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql
new file mode 100644
index 00000000..d7416963
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql
@@ -0,0 +1,113 @@
+WITH dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.pool_id,
+ m.collateral_type
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT pool_id,
+ collateral_type
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+ ) AS m
+ GROUP BY
+ m.pool_id,
+ m.collateral_type
+),
+rewards_distributed AS (
+ SELECT
+ ts,
+ pool_id,
+ collateral_type,
+ distributor,
+ token_symbol,
+ amount,
+ ts_start,
+ "duration"
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+),
+hourly_distributions AS (
+ SELECT
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor,
+ r.token_symbol,
+ r.amount,
+ r.ts_start,
+ r."duration",
+ ROW_NUMBER() over (
+ PARTITION BY dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ r.distributor
+ ORDER BY
+ r.ts_start DESC
+ ) AS distributor_index
+ FROM
+ dim
+ LEFT JOIN rewards_distributed r
+ ON dim.pool_id = r.pool_id
+ AND LOWER(
+ dim.collateral_type
+ ) = LOWER(
+ r.collateral_type
+ )
+ AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start
+ AND dim.ts < r.ts_start + r."duration" * '1 second' :: INTERVAL
+),
+hourly_rewards AS (
+ SELECT
+ d.ts,
+ d.pool_id,
+ d.collateral_type,
+ d.distributor,
+ d.token_symbol,
+ p.price,
+ -- get the hourly amount distributed
+ d.amount / (
+ d."duration" / 3600
+ ) AS hourly_amount,
+ -- get the amount of time distributed this hour
+ -- use the smaller of those two intervals
+ -- convert the interval to a number of hours
+ -- multiply the result by the hourly amount to get the amount distributed this hour
+ (
+ EXTRACT(
+ epoch
+ FROM
+ LEAST(
+ d."duration" / 3600 * '1 hour' :: INTERVAL,
+ d.ts + '1 hour' :: INTERVAL - GREATEST(
+ d.ts,
+ d.ts_start
+ )
+ )
+ ) / 3600
+ ) * d.amount / (
+ d."duration" / 3600
+ ) AS amount_distributed
+ FROM
+ hourly_distributions AS d
+ LEFT JOIN "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet"
+ p
+ ON d.ts = p.ts
+ AND d.token_symbol = p.market_symbol
+ WHERE
+ d.distributor_index = 1
+)
+SELECT
+ *,
+ amount_distributed * price AS rewards_usd
+FROM
+ hourly_rewards
+WHERE
+ amount_distributed IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql
new file mode 100644
index 00000000..f18c46c1
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql
new file mode 100644
index 00000000..64d43e40
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ collateral_type as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+ group by collateral_type
+
+)
+
+select *
+from all_values
+where value_field not in (
+ '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F'
+)
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql
new file mode 100644
index 00000000..a38cb814
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql
new file mode 100644
index 00000000..c8c252ea
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql
new file mode 100644
index 00000000..d4fc3dda
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 1
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql
new file mode 100644
index 00000000..86bc9ae8
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_delegated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql
new file mode 100644
index 00000000..046c66ee
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct >= -1
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql
new file mode 100644
index 00000000..2be0bcd8
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql
new file mode 100644
index 00000000..642cb496
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql
new file mode 100644
index 00000000..8c98bf79
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql
new file mode 100644
index 00000000..a5f5e1f1
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_debt_migrated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql
new file mode 100644
index 00000000..99d06067
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql
new file mode 100644
index 00000000..cdf33c55
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql
new file mode 100644
index 00000000..c26b6658
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql
new file mode 100644
index 00000000..cbb1217e
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql
new file mode 100644
index 00000000..593bdd4d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql
new file mode 100644
index 00000000..b771dd18
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql
new file mode 100644
index 00000000..a060069d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql
new file mode 100644
index 00000000..ed6b7830
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql
new file mode 100644
index 00000000..f1f68de2
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql
new file mode 100644
index 00000000..b41ee5bc
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql
new file mode 100644
index 00000000..8c7a0d67
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql
new file mode 100644
index 00000000..bb92a036
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql
new file mode 100644
index 00000000..e96ddcb9
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql
new file mode 100644
index 00000000..eafb3b72
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql
new file mode 100644
index 00000000..4d8d97c2
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql
new file mode 100644
index 00000000..1552d19c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql
new file mode 100644
index 00000000..b84b9019
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct >= -1
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_pnl_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql
new file mode 100644
index 00000000..b8f45d7b
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not rewards_usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql
new file mode 100644
index 00000000..2810df76
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct >= 0
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not hourly_rewards_pct <= 1
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql
new file mode 100644
index 00000000..2f0169b7
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql
new file mode 100644
index 00000000..0e063e32
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_distributed >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql
new file mode 100644
index 00000000..1fd6f18f
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql
new file mode 100644
index 00000000..956d2267
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql
new file mode 100644
index 00000000..1625a538
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_delegated
+from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet"
+where amount_delegated is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..14f1d551
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..70c1493d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql
new file mode 100644
index 00000000..fde905e9
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_core_account_delegation_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql
new file mode 100644
index 00000000..2a3353b7
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_24h
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where apr_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql
new file mode 100644
index 00000000..14aa0f70
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_28d
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where apr_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql
new file mode 100644
index 00000000..2a476faf
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apr_7d
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where apr_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql
new file mode 100644
index 00000000..015b7c4c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_24h
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where apy_24h is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql
new file mode 100644
index 00000000..d94debe4
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_28d
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where apy_28d is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql
new file mode 100644
index 00000000..198086bf
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select apy_7d
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where apy_7d is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..7be48d2d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql
new file mode 100644
index 00000000..b4e10890
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql
new file mode 100644
index 00000000..5351b5de
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_issuance
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where cumulative_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql
new file mode 100644
index 00000000..041dc34b
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select cumulative_pnl
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where cumulative_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql
new file mode 100644
index 00000000..b48e756f
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql
new file mode 100644
index 00000000..b2aaa4b0
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_debt_migrated
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where hourly_debt_migrated is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..111f4826
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql
new file mode 100644
index 00000000..119265b4
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql
new file mode 100644
index 00000000..1a6a3549
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql
new file mode 100644
index 00000000..7f842f11
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..abcd8c9a
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..797ce4f0
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql
new file mode 100644
index 00000000..990bfd79
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_core_apr_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..f0f3bae0
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql
new file mode 100644
index 00000000..7f9b0fef
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..130014ad
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql
new file mode 100644
index 00000000..dc94b078
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql
new file mode 100644
index 00000000..9bdb6bea
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql
new file mode 100644
index 00000000..cf10b755
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql
new file mode 100644
index 00000000..d1debe34
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..e1ffd631
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql
new file mode 100644
index 00000000..334be015
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..7e9fbd04
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..1e1b3f5d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql
new file mode 100644
index 00000000..957eb25e
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_amount
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where collateral_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..d0e8bebc
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql
new file mode 100644
index 00000000..d8726dd3
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt_amount
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where debt_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..0de5b21b
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql
new file mode 100644
index 00000000..de0879b4
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select staker
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where staker is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..24f34d7c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql
new file mode 100644
index 00000000..eb32d410
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_core_migration_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql
new file mode 100644
index 00000000..2eca758c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_debt_migrated
+from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet"
+where hourly_debt_migrated is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..b272d67c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..8d096ca1
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql
new file mode 100644
index 00000000..d0610a04
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_core_migration_hourly_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql
new file mode 100644
index 00000000..6905d53a
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_deposited
+from "analytics"."prod_eth_mainnet"."fct_core_pool_collateral_eth_mainnet"
+where amount_deposited is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..517c6bd5
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_core_pool_collateral_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql
new file mode 100644
index 00000000..db6042a4
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_core_pool_collateral_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..06990d30
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..ea4a92ac
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql
new file mode 100644
index 00000000..d6c8c103
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_core_pool_delegation_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..a2d0c7b8
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql
new file mode 100644
index 00000000..f726b0ea
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select created_ts
+from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet"
+where created_ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql
new file mode 100644
index 00000000..3a7f3361
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql
new file mode 100644
index 00000000..2ba37071
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_eth_mainnet"."fct_core_pools_eth_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..8e8ea110
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..8102de6c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql
new file mode 100644
index 00000000..12ea22c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..d58a8f4d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql
new file mode 100644
index 00000000..c09bdc83
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_pool_debt_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..895b461d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql
new file mode 100644
index 00000000..de4d4acb
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..a6548282
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..08a3964d
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..b3554367
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..528df655
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql
new file mode 100644
index 00000000..5155c3f5
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..dea2f171
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..a43f0eaf
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..d4434b1f
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql
new file mode 100644
index 00000000..3a736ad8
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_pool_issuance_hourly_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..73891dc2
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql
new file mode 100644
index 00000000..bccf56c6
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql
new file mode 100644
index 00000000..330c4671
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql
new file mode 100644
index 00000000..e526d540
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_debt_migrated
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where hourly_debt_migrated is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql
new file mode 100644
index 00000000..52d4d557
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_issuance
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where hourly_issuance is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql
new file mode 100644
index 00000000..e19723c0
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where hourly_pnl is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql
new file mode 100644
index 00000000..29565b7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_pnl_pct
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where hourly_pnl_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql
new file mode 100644
index 00000000..177222f3
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_rewards_pct
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where hourly_rewards_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql
new file mode 100644
index 00000000..59697001
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_total_pct
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where hourly_total_pct is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..a44965de
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..be2a69ff
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql
new file mode 100644
index 00000000..01d7a5ba
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_pool_pnl_hourly_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql
new file mode 100644
index 00000000..e06a4fb9
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..70e657ce
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql
new file mode 100644
index 00000000..978a36dd
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..0db3c03f
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql
new file mode 100644
index 00000000..24b93153
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql
new file mode 100644
index 00000000..27709fa3
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..96a2841f
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..2b895f62
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..c8eeca7e
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql
new file mode 100644
index 00000000..12abc477
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_hourly_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql
new file mode 100644
index 00000000..ab7fe16f
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql
new file mode 100644
index 00000000..dea028c8
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_distributed
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where amount_distributed is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql
new file mode 100644
index 00000000..526b02eb
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select hourly_amount
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where hourly_amount is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql
new file mode 100644
index 00000000..3ae0a9a7
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..d58deabc
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql
new file mode 100644
index 00000000..8e04f079
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql
new file mode 100644
index 00000000..d8a1c208
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select rewards_usd
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where rewards_usd is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql
new file mode 100644
index 00000000..3358675c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql
new file mode 100644
index 00000000..9e7121ba
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_pool_rewards_token_hourly_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_mainnet_id.sql
new file mode 100644
index 00000000..22039cad
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_eth_mainnet"."fct_core_market_updated_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql
new file mode 100644
index 00000000..04ec4519
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql
@@ -0,0 +1,34 @@
+WITH all_prices AS (
+ SELECT
+ ts,
+ collateral_type AS market_address,
+ NULL AS market_symbol,
+ collateral_value / amount AS price
+ FROM
+ "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+ WHERE
+ collateral_value > 0
+),
+tokens AS (
+ SELECT
+ token_address,
+ token_symbol
+ FROM
+ "analytics"."prod_seeds"."eth_mainnet_tokens"
+)
+SELECT
+ p.ts,
+ p.market_address,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) AS market_symbol,
+ p.price
+FROM
+ all_prices p
+ LEFT JOIN tokens t
+ ON LOWER(
+ p.market_address
+ ) = LOWER(
+ t.token_address
+ )
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql
new file mode 100644
index 00000000..effcd146
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql
@@ -0,0 +1,74 @@
+WITH prices AS (
+ SELECT
+ DISTINCT DATE_TRUNC(
+ 'hour',
+ ts
+ ) AS ts,
+ market_symbol,
+ LAST_VALUE(price) over (PARTITION BY DATE_TRUNC('hour', ts), market_symbol
+ ORDER BY
+ ts rows BETWEEN unbounded preceding
+ AND unbounded following) AS price
+ FROM
+ "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet"
+),
+dim AS (
+ SELECT
+ generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,
+ m.market_symbol
+ FROM
+ (
+ SELECT
+ ts
+ FROM
+ prices
+ ) AS t
+ CROSS JOIN (
+ SELECT
+ DISTINCT market_symbol
+ FROM
+ prices
+ ) AS m
+ GROUP BY
+ m.market_symbol
+),
+ffill AS (
+ SELECT
+ dim.ts,
+ dim.market_symbol,
+ prices.price,
+ SUM(
+ CASE
+ WHEN prices.price IS NOT NULL THEN 1
+ ELSE 0
+ END
+ ) over (
+ PARTITION BY dim.market_symbol
+ ORDER BY
+ dim.ts
+ ) AS price_id
+ FROM
+ dim
+ LEFT JOIN prices
+ ON dim.ts = prices.ts
+ AND dim.market_symbol = prices.market_symbol
+),
+hourly_prices AS (
+ SELECT
+ ts,
+ market_symbol,
+ FIRST_VALUE(price) over (
+ PARTITION BY price_id,
+ market_symbol
+ ORDER BY
+ ts
+ ) AS price
+ FROM
+ ffill
+)
+SELECT
+ *
+FROM
+ hourly_prices
+WHERE
+ price IS NOT NULL
\ No newline at end of file
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql
new file mode 100644
index 00000000..0c652dc5
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql
new file mode 100644
index 00000000..de4435a6
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql
new file mode 100644
index 00000000..232a7782
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql
new file mode 100644
index 00000000..c6f0fdfc
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql
new file mode 100644
index 00000000..3283d9dc
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_prices_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql
new file mode 100644
index 00000000..22627871
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql
new file mode 100644
index 00000000..efc44dcb
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql
new file mode 100644
index 00000000..a8bd7501
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_eth_mainnet"."fct_prices_hourly_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql
new file mode 100644
index 00000000..325cc9ec
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql
@@ -0,0 +1,38 @@
+WITH indexer_blocks AS (
+ SELECT
+ "timestamp" AS ts,
+ CAST(
+ "number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_arbitrum_mainnet"."block"
+),
+parquet_blocks AS (
+ SELECT
+ TO_TIMESTAMP("timestamp") AS ts,
+ CAST(
+ "block_number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_arbitrum_mainnet"."blocks_parquet"
+),
+
+combined_blocks AS (
+ SELECT
+ *
+ FROM
+ indexer_blocks
+
+ UNION ALL
+ SELECT
+ *
+ FROM
+ parquet_blocks
+)
+SELECT
+ DISTINCT MIN(ts) AS ts,
+ block_number
+FROM
+ combined_blocks
+GROUP BY
+ block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql
new file mode 100644
index 00000000..816fa887
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql
new file mode 100644
index 00000000..bf2480d6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_delegation_updated_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_delegation_updated"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql
new file mode 100644
index 00000000..fb52b822
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_deposited_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_deposited"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql
new file mode 100644
index 00000000..ebdb36d9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_liquidation_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_liquidation"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql
new file mode 100644
index 00000000..8100b5de
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_registered"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql
new file mode 100644
index 00000000..6d0314c9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_updated_arbitrum_mainnet.sql
@@ -0,0 +1,103 @@
+WITH events AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_collateral_deposited"
+
+ ) collateral_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_collateral_withdrawn"
+
+ ) collateral_withdrawn
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_usd_deposited"
+
+ ) usd_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_market_usd_withdrawn"
+
+ ) usd_withdrawn
+)
+SELECT
+ *
+FROM
+ events
+ORDER BY
+ block_timestamp
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql
new file mode 100644
index 00000000..eb5184bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_pool_created_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_pool_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql
new file mode 100644
index 00000000..05680e64
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_claimed_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_claimed"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql
new file mode 100644
index 00000000..888555d1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_rewards_distributed_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_distributed"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql
new file mode 100644
index 00000000..6336a4fa
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_burned_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_usd_burned"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql
new file mode 100644
index 00000000..169c44c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_usd_minted"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql
new file mode 100644
index 00000000..758b551e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_collateral_arbitrum_mainnet.sql
@@ -0,0 +1,41 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ amount as numeric
+ ) as amount,
+ cast(
+ value as numeric
+ ) as collateral_value
+ from
+ "analytics"."raw_arbitrum_mainnet"."core_get_vault_collateral"
+ where
+ amount is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.amount / 1e18
+ as amount,
+
+ base.collateral_value / 1e18
+ as collateral_value
+from
+ base
+inner join "analytics"."raw_arbitrum_mainnet"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql
new file mode 100644
index 00000000..7b342e4b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_debt_arbitrum_mainnet.sql
@@ -0,0 +1,35 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ value_1 as numeric
+ ) as debt
+ from
+ "analytics"."raw_arbitrum_mainnet"."core_get_vault_debt"
+ where
+ value_1 is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.debt / 1e18
+ as debt
+from
+ base
+inner join "analytics"."raw_arbitrum_mainnet"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql
new file mode 100644
index 00000000..7eb51904
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_vault_liquidation"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql
new file mode 100644
index 00000000..d4f4e3f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_withdrawn_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_withdrawn"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql
new file mode 100644
index 00000000..c906bd12
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql
new file mode 100644
index 00000000..1c0971f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'DelegationUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql
new file mode 100644
index 00000000..5db34e24
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Deposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql
new file mode 100644
index 00000000..08a8a119
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Liquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql
new file mode 100644
index 00000000..6636242b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql
new file mode 100644
index 00000000..f8ef58e9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql
new file mode 100644
index 00000000..31acb724
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PoolCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql
new file mode 100644
index 00000000..6deae5ca
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsClaimed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql
new file mode 100644
index 00000000..76147c04
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsDistributed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql
new file mode 100644
index 00000000..00e4e299
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdBurned'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql
new file mode 100644
index 00000000..1021b89e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdMinted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql
new file mode 100644
index 00000000..a74b2ca6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VaultLiquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql
new file mode 100644
index 00000000..2aa482b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Withdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql
new file mode 100644
index 00000000..5ad1d8f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql
new file mode 100644
index 00000000..6a7556b0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql
new file mode 100644
index 00000000..e7e8a61f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql
new file mode 100644
index 00000000..0c99465e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not duration >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql
new file mode 100644
index 00000000..bb7ad882
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql
new file mode 100644
index 00000000..03c0c38e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql
new file mode 100644
index 00000000..eaf82975
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql
new file mode 100644
index 00000000..70e1a112
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql
new file mode 100644
index 00000000..5e607015
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql
new file mode 100644
index 00000000..e2f81964
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql
new file mode 100644
index 00000000..e85c4b29
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql
new file mode 100644
index 00000000..46368c7e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql
new file mode 100644
index 00000000..c2eafeb0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage >= 1000000000000000000
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage <= 1000000000000000000
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql
new file mode 100644
index 00000000..ebb9a2af
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql
new file mode 100644
index 00000000..de82e6e9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql
new file mode 100644
index 00000000..f21e0430
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql
new file mode 100644
index 00000000..91d9f1d1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql
new file mode 100644
index 00000000..5b9f7550
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql
new file mode 100644
index 00000000..5ddf7177
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql
new file mode 100644
index 00000000..2841fb4a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql
new file mode 100644
index 00000000..124e09cd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql
new file mode 100644
index 00000000..19a83c67
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql
new file mode 100644
index 00000000..da4a6869
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql
new file mode 100644
index 00000000..8319213c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql
new file mode 100644
index 00000000..edb05187
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql
new file mode 100644
index 00000000..5374015e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql
new file mode 100644
index 00000000..1e15d563
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql
new file mode 100644
index 00000000..b4e7556b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not deposited_collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql
new file mode 100644
index 00000000..e4a9c9b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql
new file mode 100644
index 00000000..396893bc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql
new file mode 100644
index 00000000..4fba8e45
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql
new file mode 100644
index 00000000..107ba945
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql
new file mode 100644
index 00000000..e92c05e5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql
new file mode 100644
index 00000000..cc78fe00
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..3632d631
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..17ce3a65
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..c14fc6fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..216d0fac
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..dfcd6645
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..7082e635
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_owner.sql
new file mode 100644
index 00000000..a6e740d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..e049996f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql
new file mode 100644
index 00000000..cb912af3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql
new file mode 100644
index 00000000..7cf48b74
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql
new file mode 100644
index 00000000..fc61f74d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..ca36d38d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..8b92187f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..5df55639
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..ce81e992
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..6b14232a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..d8653aba
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql
new file mode 100644
index 00000000..2bd3705c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select leverage
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where leverage is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..456f83b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..0de3c969
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_delegation_updated_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..cfb6a639
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..173f3727
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..181a997f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..d896a393
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..2e3acb35
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..a14f1ed4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..dd9473e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..c1be098d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_token_amount.sql
new file mode 100644
index 00000000..4f6a73c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..48c1e004
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql
new file mode 100644
index 00000000..d5bc482b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..8f4fbbaa
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..d16e6b5b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..3cdf3e7a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..907d662a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..3df94658
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..8cba6b2a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..7219d08f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..c78b8715
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..3c0a5d30
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..94142262
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql
new file mode 100644
index 00000000..1630c716
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql
new file mode 100644
index 00000000..67b371dd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..ea2db477
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..83d6859f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..e3f6ad4d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..107c19fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market.sql
new file mode 100644
index 00000000..b48afb44
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where market is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..679c086c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..8c5f6a22
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_registered_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql
new file mode 100644
index 00000000..dbae1694
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select deposited_collateral_value
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where deposited_collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..0415c234
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..91413bf8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..7d7fc1c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..a3121a3b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql
new file mode 100644
index 00000000..5470ba79
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..f96be4ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..e80a8393
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..2b7abf72
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql
new file mode 100644
index 00000000..91d7a894
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..988be67d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_token_amount.sql
new file mode 100644
index 00000000..1bfe3631
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..50a32a4d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..aa8345fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..f8577a26
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..ab207224
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..b20cfcb4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..91773067
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_owner.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_owner.sql
new file mode 100644
index 00000000..950009c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..9e6ba7a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..c170fab7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..12000876
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..9f2d082e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..1f722167
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..c84aab89
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..d00ec233
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..2234c954
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..23acdf69
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql
new file mode 100644
index 00000000..373ea764
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..6734b59b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..d6444734
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..1e311615
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..58cfade8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql
new file mode 100644
index 00000000..71a7c9f3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql
new file mode 100644
index 00000000..e8035493
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql
new file mode 100644
index 00000000..0e0d3320
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..bf223a31
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..fca571e6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..5c3fb603
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql
new file mode 100644
index 00000000..d7b9093f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql
new file mode 100644
index 00000000..88c8e310
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select duration
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where duration is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..e615de86
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..ccff0e2f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..960b5ea6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..299e1504
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..58494a0a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..7470e6ca
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..070f44bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..baa444c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..ea84c9c7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..a87b9074
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..311c7f5a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..df567779
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..130c830a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..501af753
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..1b4f11d9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..1faa72d5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..021b7ef0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..141c205a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..ac6f20bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..58405a9c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..c37420c7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..0021fdcd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..01b69842
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..2b23d2e6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..1fc8a3d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql
new file mode 100644
index 00000000..2473d3b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql
new file mode 100644
index 00000000..3956f9bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..5deda1a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..8c0739d7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..e296fa3a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..0404bc12
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql
new file mode 100644
index 00000000..f74e008f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_collateral_arbitrum_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..bcc1f93b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..daf322c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql
new file mode 100644
index 00000000..d4031404
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql
new file mode 100644
index 00000000..21cb9243
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..23f03902
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql
new file mode 100644
index 00000000..becb0dbe
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_debt_arbitrum_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql
new file mode 100644
index 00000000..e8a0067e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql
new file mode 100644
index 00000000..17f32532
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidation_data
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where liquidation_data is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql
new file mode 100644
index 00000000..d2ed3cfc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql
new file mode 100644
index 00000000..3decef3f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql
new file mode 100644
index 00000000..b800c742
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..967ea231
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..9cef69d2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..058305b5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..f98d7f8e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql
new file mode 100644
index 00000000..c3ecfdc9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..8f77b2cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_account_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_account_id.sql
new file mode 100644
index 00000000..2d89509a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..4c6f1214
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..a6437916
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql
new file mode 100644
index 00000000..ea430591
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..78c06476
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..f3b5edc2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..09fb708e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..f922cfb0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql
new file mode 100644
index 00000000..dbd59147
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..ff2b22f3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..9cbdffb3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_account_created_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_account_created_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..d119b008
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_delegation_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_delegation_updated_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..feba6f3e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_deposited_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_deposited_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..84a4ce94
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_liquidation_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_liquidation_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..03ab7a27
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..942f644c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_registered_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ market_id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_registered_arbitrum_mainnet"
+where market_id is not null
+group by market_id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..852b3671
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_market_updated_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_market_updated_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..d4dcf9a5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_pool_created_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_pool_created_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..6e6b9036
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_claimed_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_claimed_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..d3d7bf83
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_rewards_distributed_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_rewards_distributed_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..dcf8b805
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_burned_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_burned_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..23fb34a4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_usd_minted_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_usd_minted_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..a0b65d01
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_vault_liquidation_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_vault_liquidation_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..ce0ab476
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/unique_core_withdrawn_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."core_withdrawn_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql
new file mode 100644
index 00000000..ea99ed25
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+with recency as (
+
+ select
+
+
+
+ max(ts) as most_recent
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet"
+
+
+
+)
+
+select
+
+
+ most_recent,
+ cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp) as threshold
+
+from recency
+where most_recent < cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp)
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..0bb04c48
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/not_null_blocks_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..223b08d5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/unique_blocks_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ block_number as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."blocks_arbitrum_mainnet"
+where block_number is not null
+group by block_number
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql
new file mode 100644
index 00000000..ebde14c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCancelled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql
new file mode 100644
index 00000000..7b0f9758
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCommitted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql
new file mode 100644
index 00000000..4f024974
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderSettled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql
new file mode 100644
index 00000000..455c8aac
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthBought'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql
new file mode 100644
index 00000000..1559d10d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql
new file mode 100644
index 00000000..551865a7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthSold'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql
new file mode 100644
index 00000000..5f2e523d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthUnwrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql
new file mode 100644
index 00000000..d83d8e50
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthWrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql
new file mode 100644
index 00000000..3a8df5b3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql
new file mode 100644
index 00000000..357fe288
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql
new file mode 100644
index 00000000..09c6fd57
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql
new file mode 100644
index 00000000..c8284f3c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql
new file mode 100644
index 00000000..ebd7afdb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql
new file mode 100644
index 00000000..a5f4e40c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not final_order_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql
new file mode 100644
index 00000000..4288503d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql
new file mode 100644
index 00000000..0805aa68
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql
new file mode 100644
index 00000000..005216df
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql
new file mode 100644
index 00000000..08baf814
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql
new file mode 100644
index 00000000..e3cce701
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql
new file mode 100644
index 00000000..eef73000
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql
new file mode 100644
index 00000000..57bee591
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql
new file mode 100644
index 00000000..346fc61e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql
new file mode 100644
index 00000000..c2624fd3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_provided >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql
new file mode 100644
index 00000000..fbbf5802
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql
new file mode 100644
index 00000000..ae818c76
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql
new file mode 100644
index 00000000..b1857ce1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_unwrapped >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql
new file mode 100644
index 00000000..46ef923f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_returned >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql
new file mode 100644
index 00000000..53677c41
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..e6d5c446
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..f75d4f0b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..4a78b310
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..7e38fba9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..609b333d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..87fcf3fd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..2f11ed6f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..7308c281
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql
new file mode 100644
index 00000000..09aacded
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_provided
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where amount_provided is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..39f7bddb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..689e66f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..b7b56f57
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..1b1d02f4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..7fd635e7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..f1aa6aa0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_order_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_order_type.sql
new file mode 100644
index 00000000..f719d41a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_referrer.sql
new file mode 100644
index 00000000..5c0bb29f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_sender.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_sender.sql
new file mode 100644
index 00000000..1b73422c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..b8e7af6f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..771b39ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..c49387fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql
new file mode 100644
index 00000000..b75b8303
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..bea4d7d6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..0e894638
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..94687d53
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_market_id.sql
new file mode 100644
index 00000000..603faae7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_order_type.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_order_type.sql
new file mode 100644
index 00000000..d077979b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_price.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..839d0d43
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_settler.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_settler.sql
new file mode 100644
index 00000000..9910145e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..28a6d4e7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..7f6f8775
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..64bf36b6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql
new file mode 100644
index 00000000..9b347298
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..d814c2f5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..88d0ec8d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..20fe7a47
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_price.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..4041747d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql
new file mode 100644
index 00000000..3768a135
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..198d82d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..bb669d87
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql
new file mode 100644
index 00000000..c92cbacb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql
new file mode 100644
index 00000000..86008a5b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..296e4f36
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..7e454106
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..7996622a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..366db569
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..0ce8229e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..7a26f6d3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql
new file mode 100644
index 00000000..a7962961
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_returned
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where amount_returned is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..c98946ef
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..ea867685
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql
new file mode 100644
index 00000000..b0d44cec
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..53836e0b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..bd877151
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..7f233a7d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_price.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_price.sql
new file mode 100644
index 00000000..98f49a50
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql
new file mode 100644
index 00000000..6537495a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..4cbfb836
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..a21a33c5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql
new file mode 100644
index 00000000..19799854
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_unwrapped
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where amount_unwrapped is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..8eb72803
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..a1b31f92
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..55b8726c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..2d963ed9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql
new file mode 100644
index 00000000..a3a79122
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..b76840cd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..3e569c6d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..71865a51
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql
new file mode 100644
index 00000000..22c765f3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..17ebaf5a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql
new file mode 100644
index 00000000..28a33929
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql
new file mode 100644
index 00000000..cc740cf6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql
new file mode 100644
index 00000000..26216ea6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..02ace243
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..e7dc9185
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..eb1f0eec
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..04f2b0c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_cancelled_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_cancelled_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..cb4c34c2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_committed_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_committed_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..44dcd5d2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_order_settled_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_order_settled_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..22de608b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_bought_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_bought_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..33d86d0f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_registered_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_registered_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..dc1ea942
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_sold_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_sold_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..71cec6bc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_unwrapped_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql
new file mode 100644
index 00000000..5cb60856
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_mainnet"."spot_synth_wrapped_arbitrum_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql
new file mode 100644
index 00000000..a4464bdc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_cancelled_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_cancelled"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql
new file mode 100644
index 00000000..fb18df25
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_committed_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_committed"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql
new file mode 100644
index 00000000..dc377e3b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_order_settled_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql
new file mode 100644
index 00000000..9c22bbff
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_bought"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql
new file mode 100644
index 00000000..0100469c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_registered_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_registered"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql
new file mode 100644
index 00000000..e130a4cc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_sold_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_sold"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql
new file mode 100644
index 00000000..de5c42b1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_unwrapped_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_unwrapped"
diff --git a/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql
new file mode 100644
index 00000000..bf62c3e8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_wrapped_arbitrum_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."spot_market_proxy_event_synth_wrapped"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql
new file mode 100644
index 00000000..19d0eec1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql
@@ -0,0 +1,38 @@
+WITH indexer_blocks AS (
+ SELECT
+ "timestamp" AS ts,
+ CAST(
+ "number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_arbitrum_sepolia"."block"
+),
+parquet_blocks AS (
+ SELECT
+ TO_TIMESTAMP("timestamp") AS ts,
+ CAST(
+ "block_number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_arbitrum_sepolia"."blocks_parquet"
+),
+
+combined_blocks AS (
+ SELECT
+ *
+ FROM
+ indexer_blocks
+
+ UNION ALL
+ SELECT
+ *
+ FROM
+ parquet_blocks
+)
+SELECT
+ DISTINCT MIN(ts) AS ts,
+ block_number
+FROM
+ combined_blocks
+GROUP BY
+ block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql
new file mode 100644
index 00000000..e6e1a2e9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql
new file mode 100644
index 00000000..9952725a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_delegation_updated"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql
new file mode 100644
index 00000000..52cac0c2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_deposited_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_deposited"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql
new file mode 100644
index 00000000..e1278746
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_liquidation_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_liquidation"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql
new file mode 100644
index 00000000..5bc84ea5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_registered_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_registered"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql
new file mode 100644
index 00000000..48f7bfdf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql
@@ -0,0 +1,103 @@
+WITH events AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_collateral_deposited"
+
+ ) collateral_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_collateral_withdrawn"
+
+ ) collateral_withdrawn
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_usd_deposited"
+
+ ) usd_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_market_usd_withdrawn"
+
+ ) usd_withdrawn
+)
+SELECT
+ *
+FROM
+ events
+ORDER BY
+ block_timestamp
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql
new file mode 100644
index 00000000..427a6de7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_pool_created_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_pool_created"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql
new file mode 100644
index 00000000..05680e64
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_claimed_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_mainnet"."core_proxy_event_rewards_claimed"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql
new file mode 100644
index 00000000..72fa7f64
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_rewards_distributed"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql
new file mode 100644
index 00000000..be349125
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_burned_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_usd_burned"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql
new file mode 100644
index 00000000..bffec804
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_usd_minted_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_usd_minted"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql
new file mode 100644
index 00000000..57898cb6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_collateral_arbitrum_sepolia.sql
@@ -0,0 +1,41 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ amount as numeric
+ ) as amount,
+ cast(
+ value as numeric
+ ) as collateral_value
+ from
+ "analytics"."raw_arbitrum_sepolia"."core_get_vault_collateral"
+ where
+ amount is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.amount / 1e18
+ as amount,
+
+ base.collateral_value / 1e18
+ as collateral_value
+from
+ base
+inner join "analytics"."raw_arbitrum_sepolia"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql
new file mode 100644
index 00000000..0a5296e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_debt_arbitrum_sepolia.sql
@@ -0,0 +1,35 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ value_1 as numeric
+ ) as debt
+ from
+ "analytics"."raw_arbitrum_sepolia"."core_get_vault_debt"
+ where
+ value_1 is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.debt / 1e18
+ as debt
+from
+ base
+inner join "analytics"."raw_arbitrum_sepolia"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql
new file mode 100644
index 00000000..6f4bf7d6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_vault_liquidation"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql
new file mode 100644
index 00000000..c89eb5ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_withdrawn_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."core_proxy_event_withdrawn"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql
new file mode 100644
index 00000000..bdb99b35
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql
new file mode 100644
index 00000000..6e596b5b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'DelegationUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql
new file mode 100644
index 00000000..bdf6b600
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Deposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql
new file mode 100644
index 00000000..a427b031
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Liquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql
new file mode 100644
index 00000000..74d81865
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql
new file mode 100644
index 00000000..226b99a4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql
new file mode 100644
index 00000000..715015ac
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PoolCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql
new file mode 100644
index 00000000..56af0905
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsClaimed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql
new file mode 100644
index 00000000..2fbcf0cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsDistributed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql
new file mode 100644
index 00000000..99f0fc72
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdBurned'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql
new file mode 100644
index 00000000..026339e2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdMinted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql
new file mode 100644
index 00000000..db6c2500
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VaultLiquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql
new file mode 100644
index 00000000..1fd3d4c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Withdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql
new file mode 100644
index 00000000..2dade987
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql
new file mode 100644
index 00000000..afb1eb98
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql
new file mode 100644
index 00000000..8959251e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql
new file mode 100644
index 00000000..bf037177
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql
new file mode 100644
index 00000000..46473dfa
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage >= 1000000000000000000
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage <= 1000000000000000000
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql
new file mode 100644
index 00000000..bc0b8092
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql
new file mode 100644
index 00000000..976d6f70
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql
new file mode 100644
index 00000000..fff6fe82
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql
new file mode 100644
index 00000000..98729097
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not duration >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql
new file mode 100644
index 00000000..41057b7c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql
new file mode 100644
index 00000000..6d9c6860
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql
new file mode 100644
index 00000000..b7cc7d5d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql
new file mode 100644
index 00000000..8f8535e2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql
new file mode 100644
index 00000000..c55c481d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql
new file mode 100644
index 00000000..64bb440f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql
new file mode 100644
index 00000000..55f0a513
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql
new file mode 100644
index 00000000..978aed0d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql
new file mode 100644
index 00000000..32586e43
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql
new file mode 100644
index 00000000..f24c06de
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql
new file mode 100644
index 00000000..52c6dc62
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql
new file mode 100644
index 00000000..cc347ecf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql
new file mode 100644
index 00000000..02f4a3f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql
new file mode 100644
index 00000000..92948c7a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql
new file mode 100644
index 00000000..e7a4b58c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not deposited_collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql
new file mode 100644
index 00000000..be00ddb0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql
new file mode 100644
index 00000000..7c0b9964
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql
new file mode 100644
index 00000000..3562dd9d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql
new file mode 100644
index 00000000..717c28e3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql
new file mode 100644
index 00000000..9cb9f77f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql
new file mode 100644
index 00000000..3fa3a192
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql
new file mode 100644
index 00000000..f0c5dcfd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql
new file mode 100644
index 00000000..6c1e403d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql
new file mode 100644
index 00000000..c1de4bb9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql
new file mode 100644
index 00000000..7f726208
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..26423df1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..a26ef42a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..4411c671
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..999f2702
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..cf02ac53
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..845aab41
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_owner.sql
new file mode 100644
index 00000000..5dd99d1b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..dc4efbee
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql
new file mode 100644
index 00000000..e12d57fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql
new file mode 100644
index 00000000..3692951e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql
new file mode 100644
index 00000000..2fbf4261
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..cd080dda
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..bb8103b7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..4657b8ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..0c54890d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..49fdfc5e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..8e3489a4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql
new file mode 100644
index 00000000..063b7539
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select leverage
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where leverage is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..c1e26f41
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..b9254791
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_delegation_updated_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..fd8f5788
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..e11d403a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..d95a6d36
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..fe6006cb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..4d4c43a9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..e228a8ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..dc6dbf92
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..c2acb238
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_token_amount.sql
new file mode 100644
index 00000000..0f0bc49c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..b13566fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql
new file mode 100644
index 00000000..5f5991cb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..ffbc9bd9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..0056ee29
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..29444c62
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..d8435fe4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..95ad5c52
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..4cc3a2f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..451cc12e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..6dbc1421
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..1beba91f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..20fa8123
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql
new file mode 100644
index 00000000..62f96040
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql
new file mode 100644
index 00000000..3e0ef59a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..b72bc672
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..4a57cffc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..6abe0272
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..31912abf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market.sql
new file mode 100644
index 00000000..b22511d0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where market is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..f8ff3618
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..cf78e5d8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_registered_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql
new file mode 100644
index 00000000..1bf28e4a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select deposited_collateral_value
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where deposited_collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..06d63e67
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..aaf3ee5b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..df85bbf5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..b1363023
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql
new file mode 100644
index 00000000..7d0a942b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..5b8a216c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..960c2c6e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..ffb540cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql
new file mode 100644
index 00000000..bce97bd1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..592a238c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_token_amount.sql
new file mode 100644
index 00000000..6231b9ad
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..2bc9a320
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..28ee4c44
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..a0d1e8cc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..dfbd4e16
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..9bcadcdc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..aa3cfec3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_owner.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_owner.sql
new file mode 100644
index 00000000..66966c9c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..b36b5e1d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..7e5976be
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..4b7ef2a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..47f5dbad
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..d2f00bf8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..3799c78e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..295a3848
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..9ecedd64
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..013fc687
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql
new file mode 100644
index 00000000..89675efd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..72934157
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..416f245a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..e1018f73
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..a07d5f07
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql
new file mode 100644
index 00000000..4cbbcdc6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql
new file mode 100644
index 00000000..87118470
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql
new file mode 100644
index 00000000..a795ab57
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..903693d6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..656d1324
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..d155efd2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql
new file mode 100644
index 00000000..27df30f1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql
new file mode 100644
index 00000000..5346f80d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select duration
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where duration is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..6bafe216
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..8a5fb9b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..29742f0a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..84815c2a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..760b7ea1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..7e4edd72
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..b5ddb64d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..4991340b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..8998e6a8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..375a5b57
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..3795fef0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..5215a8ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..2669422f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..1a3eee98
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..2436a8e1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..39c13565
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..a21be4fc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..fd0d2111
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..3be6a1bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..e0eb9189
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..b2e7e242
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..e21809b7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..e653e832
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..e1e4622e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..7d57a7bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql
new file mode 100644
index 00000000..07d5eac0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql
new file mode 100644
index 00000000..12e289c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql
new file mode 100644
index 00000000..3ef0557e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..faec918c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..f3a3e76a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..c9ca3911
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..8efc69c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_collateral_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..1632ee51
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..e39ab6dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql
new file mode 100644
index 00000000..3bd8d810
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql
new file mode 100644
index 00000000..09af222d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..3805c267
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql
new file mode 100644
index 00000000..abb30d42
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_debt_arbitrum_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql
new file mode 100644
index 00000000..f51f1394
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql
new file mode 100644
index 00000000..53d54158
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidation_data
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where liquidation_data is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql
new file mode 100644
index 00000000..f103f013
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql
new file mode 100644
index 00000000..075587cc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql
new file mode 100644
index 00000000..0368bfd1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..e6cd2eac
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..b5ea652c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..cfa407e9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..6a3921b2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql
new file mode 100644
index 00000000..bc45c1f5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..81c78d69
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_account_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_account_id.sql
new file mode 100644
index 00000000..333e7284
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..ff0dd052
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..a8bf5268
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql
new file mode 100644
index 00000000..599c4472
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..7ffb0a6a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..d041db4f
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..4ce100c2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..102575ee
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql
new file mode 100644
index 00000000..55e8b63a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..c3ce0420
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..4c1765eb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_account_created_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_account_created_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..0fe87b23
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_delegation_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_delegation_updated_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..2dca64f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_deposited_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_deposited_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..251d4754
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_liquidation_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_liquidation_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..992f215d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..0803760a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_registered_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ market_id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_registered_arbitrum_sepolia"
+where market_id is not null
+group by market_id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..7e395bd7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_market_updated_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_market_updated_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..01b0a8f4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_pool_created_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_pool_created_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..ac6c6e7b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_claimed_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_claimed_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..ac19a3e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_rewards_distributed_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_rewards_distributed_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..cce5af62
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_burned_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_burned_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..1ab85e68
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_usd_minted_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_usd_minted_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..9246fc01
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_vault_liquidation_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_vault_liquidation_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..7f1178ca
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/unique_core_withdrawn_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."core_withdrawn_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql
new file mode 100644
index 00000000..71a21ff1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+with recency as (
+
+ select
+
+
+
+ max(ts) as most_recent
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia"
+
+
+
+)
+
+select
+
+
+ most_recent,
+ cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp) as threshold
+
+from recency
+where most_recent < cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp)
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..b9bed7e3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/not_null_blocks_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..ca1da035
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/unique_blocks_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ block_number as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."blocks_arbitrum_sepolia"
+where block_number is not null
+group by block_number
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql
new file mode 100644
index 00000000..8608d034
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCancelled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql
new file mode 100644
index 00000000..5e0b49f2
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCommitted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql
new file mode 100644
index 00000000..ea9464b8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderSettled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql
new file mode 100644
index 00000000..8a802d91
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthBought'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql
new file mode 100644
index 00000000..7a71535a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql
new file mode 100644
index 00000000..0ad74874
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthSold'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql
new file mode 100644
index 00000000..c3b4c5d7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthUnwrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql
new file mode 100644
index 00000000..1eea2984
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthWrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql
new file mode 100644
index 00000000..4f551d70
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql
new file mode 100644
index 00000000..b95b517e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql
new file mode 100644
index 00000000..bc4ca942
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql
new file mode 100644
index 00000000..f3530c9e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql
new file mode 100644
index 00000000..2cfde8e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql
new file mode 100644
index 00000000..84333352
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql
new file mode 100644
index 00000000..16c4ea45
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_returned >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql
new file mode 100644
index 00000000..0244151b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql
new file mode 100644
index 00000000..21787114
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not final_order_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql
new file mode 100644
index 00000000..5fcaa630
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql
new file mode 100644
index 00000000..c1342536
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql
new file mode 100644
index 00000000..6b6b82cc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_provided >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql
new file mode 100644
index 00000000..616b8256
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql
new file mode 100644
index 00000000..6c9e19d1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql
new file mode 100644
index 00000000..c2a6a031
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql
new file mode 100644
index 00000000..40ef7eba
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_unwrapped >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql
new file mode 100644
index 00000000..b005e87a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql
new file mode 100644
index 00000000..9e8940ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql
new file mode 100644
index 00000000..a91c5d30
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql
new file mode 100644
index 00000000..a3828fcf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..720c104a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..75d03760
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..e89be3ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..1e3572ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..b3e027ae
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..07c9b5dd
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..2a539db1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..4a201927
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql
new file mode 100644
index 00000000..226ad6dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_provided
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where amount_provided is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..ecff544e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..705a2aed
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..dd64ef0d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..7a7c08d5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..599fa280
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..9c0438e7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_order_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_order_type.sql
new file mode 100644
index 00000000..473be20e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_referrer.sql
new file mode 100644
index 00000000..71325e01
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_sender.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_sender.sql
new file mode 100644
index 00000000..240688d3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..3cd321b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..2ebad079
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..ca3e85a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql
new file mode 100644
index 00000000..f1462337
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..d74d809d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..c9de320e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..cbee23ac
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_market_id.sql
new file mode 100644
index 00000000..368624ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_order_type.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_order_type.sql
new file mode 100644
index 00000000..fea1e6c5
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_price.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..20fa990b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_settler.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_settler.sql
new file mode 100644
index 00000000..f3f25e6e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..60529f96
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..fd035ec6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..b8677ccf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql
new file mode 100644
index 00000000..0253b801
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..c830aab9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..79d90470
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..2e82a7f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_price.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..32ba058a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql
new file mode 100644
index 00000000..5d762ea4
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..a8eccdca
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..bff7fd77
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql
new file mode 100644
index 00000000..38cf1f37
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql
new file mode 100644
index 00000000..154404c8
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..a2b262a7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..012b461e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..747325ef
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..61a97fbf
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..6921f6e0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..0c6113b0
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql
new file mode 100644
index 00000000..6ce26587
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_returned
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where amount_returned is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..b788ca9d
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..75064c90
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql
new file mode 100644
index 00000000..7dceebc7
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..0be790ca
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..92827381
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..cc5cfa08
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_price.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_price.sql
new file mode 100644
index 00000000..f6f79da6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql
new file mode 100644
index 00000000..c3bce919
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..2de31da6
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..ca4dbcf9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql
new file mode 100644
index 00000000..787bb248
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_unwrapped
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where amount_unwrapped is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..15847e94
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..86deaa6c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..7f4779e3
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..396f8707
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql
new file mode 100644
index 00000000..f1112010
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..6e1c6926
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..29cb36df
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..ecc0bc75
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql
new file mode 100644
index 00000000..26954513
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..b844a984
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql
new file mode 100644
index 00000000..ec34b06b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql
new file mode 100644
index 00000000..a1dbfb75
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql
new file mode 100644
index 00000000..5d54a092
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..b358bb9c
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..907973aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..afa02e4a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..a552d606
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_cancelled_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_cancelled_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..43fde250
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_committed_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_committed_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..02e8828e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_order_settled_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_order_settled_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..9eb89a10
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_bought_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_bought_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..4d778e6e
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_registered_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_registered_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..297182dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_sold_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_sold_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..5d86e5b1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_unwrapped_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql
new file mode 100644
index 00000000..94e443bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/schema.yml/unique_spot_synth_wrapped_arbitrum_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_arbitrum_sepolia"."spot_synth_wrapped_arbitrum_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql
new file mode 100644
index 00000000..028810a1
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_cancelled_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_cancelled"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql
new file mode 100644
index 00000000..860e6484
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_committed_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_committed"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql
new file mode 100644
index 00000000..e5cac981
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_order_settled_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql
new file mode 100644
index 00000000..b63bbe5a
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_bought"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql
new file mode 100644
index 00000000..6f3ee6a9
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_registered_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_registered"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql
new file mode 100644
index 00000000..fe2b6a05
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_sold_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_sold"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql
new file mode 100644
index 00000000..e0a64a8b
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_unwrapped"
diff --git a/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql
new file mode 100644
index 00000000..23d69429
--- /dev/null
+++ b/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_wrapped_arbitrum_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_arbitrum_sepolia"."spot_market_proxy_event_synth_wrapped"
diff --git a/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql
new file mode 100644
index 00000000..95283e40
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql
@@ -0,0 +1,38 @@
+WITH indexer_blocks AS (
+ SELECT
+ "timestamp" AS ts,
+ CAST(
+ "number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_base_mainnet"."block"
+),
+parquet_blocks AS (
+ SELECT
+ TO_TIMESTAMP("timestamp") AS ts,
+ CAST(
+ "block_number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_base_mainnet"."blocks_parquet"
+),
+combined_blocks AS (
+ SELECT
+ *
+ FROM
+ indexer_blocks
+
+ UNION ALL
+
+ SELECT
+ *
+ FROM
+ parquet_blocks
+)
+SELECT
+ DISTINCT MIN(ts) AS ts,
+ block_number
+FROM
+ combined_blocks
+GROUP BY
+ block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql
new file mode 100644
index 00000000..c862cbb4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql
@@ -0,0 +1,42 @@
+WITH legacy_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."buyback_snx_legacy_event_buyback_processed"
+
+),
+current_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."buyback_snx_event_buyback_processed"
+
+)
+
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ event_name,
+ contract,
+ buyer,
+ snx,
+ usd
+FROM
+ legacy_events
+UNION ALL
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ event_name,
+ contract,
+ buyer,
+ snx,
+ usd
+FROM
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql
new file mode 100644
index 00000000..5050904a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'BuybackProcessed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql
new file mode 100644
index 00000000..84386fe3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql
new file mode 100644
index 00000000..86b8e414
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql
new file mode 100644
index 00000000..68ca79eb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..5d5aedf1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql
new file mode 100644
index 00000000..3e216be5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select buyer
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where buyer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql
new file mode 100644
index 00000000..27aa9629
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql
new file mode 100644
index 00000000..f1842b58
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql
new file mode 100644
index 00000000..49a25043
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql
new file mode 100644
index 00000000..12d624b5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where snx is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..fce17333
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql
new file mode 100644
index 00000000..048f9483
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where usd is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_base_mainnet_id.sql
new file mode 100644
index 00000000..7f4187a3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."buyback_processed_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql
new file mode 100644
index 00000000..64b4cacf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_account_created_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql
new file mode 100644
index 00000000..1d7a9d65
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_delegation_updated"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql
new file mode 100644
index 00000000..3f2e4147
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_deposited_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_deposited"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql
new file mode 100644
index 00000000..af223701
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_liquidation_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_liquidation"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql
new file mode 100644
index 00000000..512d62a9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_market_registered"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql
new file mode 100644
index 00000000..d8e36f0c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_market_updated_base_mainnet.sql
@@ -0,0 +1,151 @@
+WITH events AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_legacy_event_market_usd_deposited"
+
+ ) legacy_usd_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_legacy_event_market_usd_withdrawn"
+
+ ) legacy_usd_withdrawn
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_market_collateral_deposited"
+
+ ) collateral_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_market_collateral_withdrawn"
+
+ ) collateral_withdrawn
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_market_usd_deposited"
+
+ ) usd_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_market_usd_withdrawn"
+
+ ) usd_withdrawn
+)
+SELECT
+ *
+FROM
+ events
+ORDER BY
+ block_timestamp
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql
new file mode 100644
index 00000000..20312094
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_pool_created"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql
new file mode 100644
index 00000000..d8fa18f2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_claimed_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_rewards_claimed"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql
new file mode 100644
index 00000000..9dcc67dd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_rewards_distributed"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql
new file mode 100644
index 00000000..68d8ffa0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_burned_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_usd_burned"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql
new file mode 100644
index 00000000..b8d75b7b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_usd_minted"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql
new file mode 100644
index 00000000..8e3e72a4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql
@@ -0,0 +1,41 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ amount as numeric
+ ) as amount,
+ cast(
+ value as numeric
+ ) as collateral_value
+ from
+ "analytics"."raw_base_mainnet"."core_get_vault_collateral"
+ where
+ amount is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.amount / 1e18
+ as amount,
+
+ base.collateral_value / 1e18
+ as collateral_value
+from
+ base
+inner join "analytics"."raw_base_mainnet"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql
new file mode 100644
index 00000000..cb9e4f27
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql
@@ -0,0 +1,35 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ value_1 as numeric
+ ) as debt
+ from
+ "analytics"."raw_base_mainnet"."core_get_vault_debt"
+ where
+ value_1 is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.debt / 1e18
+ as debt
+from
+ base
+inner join "analytics"."raw_base_mainnet"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql
new file mode 100644
index 00000000..acf97de0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_liquidation_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_vault_liquidation"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql
new file mode 100644
index 00000000..e0d7c0a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_withdrawn_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."core_proxy_event_withdrawn"
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql
new file mode 100644
index 00000000..7cd2a5ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql
new file mode 100644
index 00000000..da44cdd8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'DelegationUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql
new file mode 100644
index 00000000..b0db9555
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Deposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql
new file mode 100644
index 00000000..88c02fd2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Liquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql
new file mode 100644
index 00000000..039fe018
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql
new file mode 100644
index 00000000..b22086c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql
new file mode 100644
index 00000000..6a16e6b8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PoolCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql
new file mode 100644
index 00000000..2e530d77
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsClaimed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql
new file mode 100644
index 00000000..360ba58b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsDistributed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql
new file mode 100644
index 00000000..316a0660
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdBurned'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql
new file mode 100644
index 00000000..068acda1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdMinted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql
new file mode 100644
index 00000000..07a93f99
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VaultLiquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql
new file mode 100644
index 00000000..e9ec1207
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Withdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql
new file mode 100644
index 00000000..8ef02844
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql
new file mode 100644
index 00000000..ecb0ab4a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not deposited_collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql
new file mode 100644
index 00000000..89d139cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql
new file mode 100644
index 00000000..678b859c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql
new file mode 100644
index 00000000..0d25cfe4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql
new file mode 100644
index 00000000..c33f8e97
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql
new file mode 100644
index 00000000..24c6b23d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql
new file mode 100644
index 00000000..1514d0f1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql
new file mode 100644
index 00000000..2503c71f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql
new file mode 100644
index 00000000..be4c2de2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql
new file mode 100644
index 00000000..53ad1b1f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql
new file mode 100644
index 00000000..f009491d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage >= 1000000000000000000
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage <= 1000000000000000000
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql
new file mode 100644
index 00000000..30fe8d8b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not duration >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql
new file mode 100644
index 00000000..79e3751d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql
new file mode 100644
index 00000000..756dabe3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql
new file mode 100644
index 00000000..81958f50
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql
new file mode 100644
index 00000000..dc6a1cec
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql
new file mode 100644
index 00000000..52a9c38f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql
new file mode 100644
index 00000000..5b85498b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql
new file mode 100644
index 00000000..efdc195a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql
new file mode 100644
index 00000000..76a3d208
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql
new file mode 100644
index 00000000..bf62076c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql
new file mode 100644
index 00000000..9522143a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql
new file mode 100644
index 00000000..8b170b7e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql
new file mode 100644
index 00000000..b581f092
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql
new file mode 100644
index 00000000..db0f21ec
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql
new file mode 100644
index 00000000..bdfc311c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql
new file mode 100644
index 00000000..c4620cab
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql
new file mode 100644
index 00000000..895e386f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql
new file mode 100644
index 00000000..876ec3ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql
new file mode 100644
index 00000000..61abbcc5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql
new file mode 100644
index 00000000..23183a24
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql
new file mode 100644
index 00000000..71aace73
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql
new file mode 100644
index 00000000..539a24e1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_account_id.sql
new file mode 100644
index 00000000..69aa5fd2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_number.sql
new file mode 100644
index 00000000..b33dbe28
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..79035f8c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_contract.sql
new file mode 100644
index 00000000..296627f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_event_name.sql
new file mode 100644
index 00000000..88206746
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql
new file mode 100644
index 00000000..4cde55aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_owner.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_owner.sql
new file mode 100644
index 00000000..937f12f0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..aca388cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_account_created_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_account_id.sql
new file mode 100644
index 00000000..a1b4b6c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_amount.sql
new file mode 100644
index 00000000..1b7fc3b7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_number.sql
new file mode 100644
index 00000000..8e7bd959
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..4a082152
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..916faa76
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_contract.sql
new file mode 100644
index 00000000..126f62f5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_event_name.sql
new file mode 100644
index 00000000..110683dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..123cfe93
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_leverage.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_leverage.sql
new file mode 100644
index 00000000..9544051f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_leverage.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select leverage
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where leverage is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..677e8830
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_sender.sql
new file mode 100644
index 00000000..ade14348
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..a7b54201
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_delegation_updated_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_account_id.sql
new file mode 100644
index 00000000..d454bae1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_number.sql
new file mode 100644
index 00000000..bd6d4ee7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..8b6ff743
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..57e773ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_contract.sql
new file mode 100644
index 00000000..1ac41f7a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_event_name.sql
new file mode 100644
index 00000000..e50ca060
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql
new file mode 100644
index 00000000..57fb1cf2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_sender.sql
new file mode 100644
index 00000000..a699bd66
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_token_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_token_amount.sql
new file mode 100644
index 00000000..507ed017
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..2b09f6ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_deposited_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_account_id.sql
new file mode 100644
index 00000000..80c6bdf8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_number.sql
new file mode 100644
index 00000000..21090f91
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..4830890f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..dcf1c4ab
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_contract.sql
new file mode 100644
index 00000000..117661fa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_event_name.sql
new file mode 100644
index 00000000..d05a4b38
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql
new file mode 100644
index 00000000..c912e6ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql
new file mode 100644
index 00000000..a9d53772
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..90855ec6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_sender.sql
new file mode 100644
index 00000000..f36cbf44
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..33ffa2a9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_liquidation_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_number.sql
new file mode 100644
index 00000000..8033a720
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..cb672bd2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_contract.sql
new file mode 100644
index 00000000..b5b96e52
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_event_name.sql
new file mode 100644
index 00000000..b6ef960a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql
new file mode 100644
index 00000000..96516f43
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market.sql
new file mode 100644
index 00000000..f3ec9451
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where market is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market_id.sql
new file mode 100644
index 00000000..d29a4e8f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_sender.sql
new file mode 100644
index 00000000..6acada20
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..1f4c01bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_registered_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql
new file mode 100644
index 00000000..6a17587a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select deposited_collateral_value
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where deposited_collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_number.sql
new file mode 100644
index 00000000..66795380
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..5b4cc1bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..1b3a2188
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_contract.sql
new file mode 100644
index 00000000..66776ce2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_credit_capacity.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_credit_capacity.sql
new file mode 100644
index 00000000..b166c24f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_event_name.sql
new file mode 100644
index 00000000..9e01cd99
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..ba4068d7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_market_id.sql
new file mode 100644
index 00000000..b4dd2487
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_net_issuance.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_net_issuance.sql
new file mode 100644
index 00000000..75aa2ab5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_sender.sql
new file mode 100644
index 00000000..866596a3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_token_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_token_amount.sql
new file mode 100644
index 00000000..ceabf66e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..3958d5ed
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_market_updated_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_number.sql
new file mode 100644
index 00000000..a845cca9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..0049d916
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_contract.sql
new file mode 100644
index 00000000..31730975
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_event_name.sql
new file mode 100644
index 00000000..27f37c43
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql
new file mode 100644
index 00000000..d0ba9895
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_owner.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_owner.sql
new file mode 100644
index 00000000..d40a4614
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..ae849789
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_sender.sql
new file mode 100644
index 00000000..fdb8ad30
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..b014c2fc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_pool_created_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_account_id.sql
new file mode 100644
index 00000000..ccac1072
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_amount.sql
new file mode 100644
index 00000000..6819618f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_number.sql
new file mode 100644
index 00000000..acab2092
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..f30bf1a1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..47f376c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_contract.sql
new file mode 100644
index 00000000..690f899e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_distributor.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_distributor.sql
new file mode 100644
index 00000000..cbb39668
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_event_name.sql
new file mode 100644
index 00000000..4d48a05d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql
new file mode 100644
index 00000000..4af09277
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..b8bbf7c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..af1fe0b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_amount.sql
new file mode 100644
index 00000000..6301a26f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_number.sql
new file mode 100644
index 00000000..d69545d3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..dc7e05a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..6deeefb5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_contract.sql
new file mode 100644
index 00000000..2d3d10db
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_distributor.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_distributor.sql
new file mode 100644
index 00000000..02ea2893
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_duration.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_duration.sql
new file mode 100644
index 00000000..ab3a29f4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_duration.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select duration
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where duration is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_event_name.sql
new file mode 100644
index 00000000..8d65e267
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql
new file mode 100644
index 00000000..e8d305c7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..282de555
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..ff1d3c6d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_account_id.sql
new file mode 100644
index 00000000..21330176
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_amount.sql
new file mode 100644
index 00000000..045e85dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_number.sql
new file mode 100644
index 00000000..c65112f2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..bc6a174b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..c328f341
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_contract.sql
new file mode 100644
index 00000000..1db79c35
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_event_name.sql
new file mode 100644
index 00000000..efa16dde
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql
new file mode 100644
index 00000000..612a319a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..85d2e744
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_sender.sql
new file mode 100644
index 00000000..22699fc0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..045e973e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_burned_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_account_id.sql
new file mode 100644
index 00000000..d2591216
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_amount.sql
new file mode 100644
index 00000000..ffdd0d89
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_number.sql
new file mode 100644
index 00000000..54db622b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..4037e764
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..c1c13fdd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_contract.sql
new file mode 100644
index 00000000..8e45302a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_event_name.sql
new file mode 100644
index 00000000..dd96844e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql
new file mode 100644
index 00000000..4e002413
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..c05ce3d1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_sender.sql
new file mode 100644
index 00000000..7a6cbde5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..45881a7b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_usd_minted_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql
new file mode 100644
index 00000000..a839bf9a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql
new file mode 100644
index 00000000..7287df3a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..3f0ee2f7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql
new file mode 100644
index 00000000..73ee6122
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql
new file mode 100644
index 00000000..cf64ccff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..9eb714ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql
new file mode 100644
index 00000000..fd420f10
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_base_mainnet"."core_vault_collateral_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql
new file mode 100644
index 00000000..b3835a21
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..071a8f24
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql
new file mode 100644
index 00000000..c58d1722
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql
new file mode 100644
index 00000000..1979f9b0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..14bc06b6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql
new file mode 100644
index 00000000..4ea1aed8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_base_mainnet"."core_vault_debt_base_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql
new file mode 100644
index 00000000..b74bad40
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_number.sql
new file mode 100644
index 00000000..bfabcd02
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..46ccb504
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..57ff5f4b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_contract.sql
new file mode 100644
index 00000000..89b148a2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_event_name.sql
new file mode 100644
index 00000000..f8673d5a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql
new file mode 100644
index 00000000..6a96a6b5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql
new file mode 100644
index 00000000..2c6b3dc6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidation_data
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where liquidation_data is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_pool_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_pool_id.sql
new file mode 100644
index 00000000..87b30fb9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_sender.sql
new file mode 100644
index 00000000..1ce599ef
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..1bcfb64c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_account_id.sql
new file mode 100644
index 00000000..039dfaba
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_number.sql
new file mode 100644
index 00000000..9d5abc9b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..acf5c744
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_collateral_type.sql
new file mode 100644
index 00000000..1b298d0e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_contract.sql
new file mode 100644
index 00000000..c68f3daa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_event_name.sql
new file mode 100644
index 00000000..f81d6736
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql
new file mode 100644
index 00000000..b4a5fa7f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_sender.sql
new file mode 100644
index 00000000..c1d26140
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_token_amount.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_token_amount.sql
new file mode 100644
index 00000000..02c9c446
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..e3c6206e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_withdrawn_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql
new file mode 100644
index 00000000..8e3801d2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_account_created_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_account_created_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..9b940ee8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_delegation_updated_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_delegation_updated_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql
new file mode 100644
index 00000000..81a420ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_deposited_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_deposited_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql
new file mode 100644
index 00000000..8d9929ee
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_liquidation_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_liquidation_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql
new file mode 100644
index 00000000..11ff901d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_market_id.sql
new file mode 100644
index 00000000..f027fddc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_registered_base_mainnet_market_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ market_id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_market_registered_base_mainnet"
+where market_id is not null
+group by market_id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..fa919757
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_market_updated_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_market_updated_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql
new file mode 100644
index 00000000..8550975c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_pool_created_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_pool_created_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql
new file mode 100644
index 00000000..69092bfa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_claimed_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_rewards_claimed_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql
new file mode 100644
index 00000000..fd018b1b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_rewards_distributed_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_rewards_distributed_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql
new file mode 100644
index 00000000..633c30db
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_burned_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_usd_burned_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql
new file mode 100644
index 00000000..bd349e7e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_usd_minted_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_usd_minted_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql
new file mode 100644
index 00000000..234700c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_vault_liquidation_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql
new file mode 100644
index 00000000..70fc4666
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_withdrawn_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."core_withdrawn_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql
new file mode 100644
index 00000000..0a009948
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_created_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql
new file mode 100644
index 00000000..536c3f6f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_account_liquidation_attempt_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_account_liquidation_attempt"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql
new file mode 100644
index 00000000..abf495c8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_collateral_modified"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql
new file mode 100644
index 00000000..a83f277c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_charged_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_interest_charged"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql
new file mode 100644
index 00000000..e3a69e81
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_interest_rate_updated"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql
new file mode 100644
index 00000000..0060f2ad
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_created_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_market_created"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql
new file mode 100644
index 00000000..af833748
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql
@@ -0,0 +1,51 @@
+WITH legacy_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_legacy_event_market_updated"
+
+),
+current_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_market_updated"
+
+)
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ price,
+ skew,
+ SIZE,
+ size_delta,
+ current_funding_rate,
+ current_funding_velocity,
+ 0 AS interest_rate
+FROM
+ legacy_events
+UNION ALL
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ price,
+ skew,
+ SIZE,
+ size_delta,
+ current_funding_rate,
+ current_funding_velocity,
+ interest_rate
+FROM
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql
new file mode 100644
index 00000000..4c636146
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql
@@ -0,0 +1,59 @@
+WITH legacy_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_legacy_event_order_committed"
+
+),
+current_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_order_committed"
+
+)
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ account_id,
+ commitment_time,
+ expiration_time,
+ settlement_time,
+ CAST(
+ NULL AS numeric
+ ) AS expected_price_time,
+ acceptable_price,
+ order_type,
+ size_delta,
+ sender,
+ tracking_code
+FROM
+ legacy_events
+UNION ALL
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ account_id,
+ commitment_time,
+ expiration_time,
+ settlement_time,
+ expected_price_time,
+ acceptable_price,
+ order_type,
+ size_delta,
+ sender,
+ tracking_code
+FROM
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql
new file mode 100644
index 00000000..009f3a8d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_settled_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql
new file mode 100644
index 00000000..fbf21e6b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_position_liquidated_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_position_liquidated"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql
new file mode 100644
index 00000000..729deeac
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_previous_order_expired_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."perps_market_proxy_event_previous_order_expired"
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql
new file mode 100644
index 00000000..e81ac323
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql
new file mode 100644
index 00000000..71837275
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountLiquidationAttempt'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql
new file mode 100644
index 00000000..5a4869bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql
new file mode 100644
index 00000000..8e272854
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql
new file mode 100644
index 00000000..74f5a14f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestRateUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql
new file mode 100644
index 00000000..99f42ab6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql
new file mode 100644
index 00000000..98e05885
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql
new file mode 100644
index 00000000..1830c2db
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCommitted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql
new file mode 100644
index 00000000..e93f204c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderSettled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql
new file mode 100644
index 00000000..1460a8eb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PositionLiquidated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql
new file mode 100644
index 00000000..a904951a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql
new file mode 100644
index 00000000..993c3929
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql
new file mode 100644
index 00000000..f87e7b71
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not super_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql
new file mode 100644
index 00000000..276a7082
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not perps_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql
new file mode 100644
index 00000000..2fc55cd3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql
new file mode 100644
index 00000000..440fec20
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql
new file mode 100644
index 00000000..71464595
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql
new file mode 100644
index 00000000..8572243f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql
new file mode 100644
index 00000000..e7d0642c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql
new file mode 100644
index 00000000..4360f667
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql
new file mode 100644
index 00000000..028f4b6c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql
new file mode 100644
index 00000000..4151b661
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql
new file mode 100644
index 00000000..b6f450b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql
new file mode 100644
index 00000000..f4bf1847
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql
new file mode 100644
index 00000000..ffbe51c7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql
new file mode 100644
index 00000000..4c6fd2ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not current_position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql
new file mode 100644
index 00000000..f302ad8f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql
new file mode 100644
index 00000000..8e8be620
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql
new file mode 100644
index 00000000..454e4db2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql
new file mode 100644
index 00000000..2f9d3e40
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql
new file mode 100644
index 00000000..78acf9b3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql
new file mode 100644
index 00000000..14113037
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql
new file mode 100644
index 00000000..27a63afa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql
new file mode 100644
index 00000000..78b5e91e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_account_id.sql
new file mode 100644
index 00000000..e5a072bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_number.sql
new file mode 100644
index 00000000..ecb8a29d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..91191b06
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_contract.sql
new file mode 100644
index 00000000..02709ac2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_event_name.sql
new file mode 100644
index 00000000..e37bc3b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql
new file mode 100644
index 00000000..979a9ca6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_owner.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_owner.sql
new file mode 100644
index 00000000..fda4c06b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..5bada7da
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_created_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql
new file mode 100644
index 00000000..539eabfe
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql
new file mode 100644
index 00000000..c2eaf169
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql
new file mode 100644
index 00000000..e7f3fe80
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql
new file mode 100644
index 00000000..1dbb6d77
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql
new file mode 100644
index 00000000..d474a5f7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql
new file mode 100644
index 00000000..6e980dc7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select full_liquidation
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where full_liquidation is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql
new file mode 100644
index 00000000..f01f896a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql
new file mode 100644
index 00000000..1d27dff8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql
new file mode 100644
index 00000000..962afc4f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select reward
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where reward is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_account_id.sql
new file mode 100644
index 00000000..8a2b5231
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_number.sql
new file mode 100644
index 00000000..6c3129fa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..3229cba9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_contract.sql
new file mode 100644
index 00000000..4580a539
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_event_name.sql
new file mode 100644
index 00000000..583a8d45
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql
new file mode 100644
index 00000000..ff9bdff9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_sender.sql
new file mode 100644
index 00000000..c886b1ca
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..d921dbc0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..88845733
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql
new file mode 100644
index 00000000..42d85a88
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql
new file mode 100644
index 00000000..9de5fb5a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..d1006767
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql
new file mode 100644
index 00000000..da8328c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql
new file mode 100644
index 00000000..d0c29da5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql
new file mode 100644
index 00000000..6c16406f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..73bb6fb0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql
new file mode 100644
index 00000000..c92ebc98
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select super_market_id
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where super_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql
new file mode 100644
index 00000000..475eb667
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql
new file mode 100644
index 00000000..0491be50
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql
new file mode 100644
index 00000000..35224e7b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql
new file mode 100644
index 00000000..8e81267d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql
new file mode 100644
index 00000000..404d85e2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..daa9ccd3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql
new file mode 100644
index 00000000..f71e14aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql
new file mode 100644
index 00000000..f1e0bbab
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..50706c91
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql
new file mode 100644
index 00000000..fd501759
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql
new file mode 100644
index 00000000..b86fdcf3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql
new file mode 100644
index 00000000..9f6a5235
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql
new file mode 100644
index 00000000..e39884bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql
new file mode 100644
index 00000000..2c989c09
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql
new file mode 100644
index 00000000..bbda95da
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select perps_market_id
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where perps_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..0276c6c9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_number.sql
new file mode 100644
index 00000000..0dc5bdd3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..d4171865
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_contract.sql
new file mode 100644
index 00000000..bebc4849
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_event_name.sql
new file mode 100644
index 00000000..b22f8850
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..a468a8e8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_interest_rate.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_interest_rate.sql
new file mode 100644
index 00000000..d89626ad
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_market_id.sql
new file mode 100644
index 00000000..daf4f9fa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_price.sql
new file mode 100644
index 00000000..800a0ccf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..d205ef0a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_updated_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_account_id.sql
new file mode 100644
index 00000000..86d56137
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_number.sql
new file mode 100644
index 00000000..e9369610
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..baf59aea
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_contract.sql
new file mode 100644
index 00000000..fec7dcfb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_event_name.sql
new file mode 100644
index 00000000..70bf23d5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql
new file mode 100644
index 00000000..91ebfcc8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_market_id.sql
new file mode 100644
index 00000000..e65074cc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..3b5b0b11
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_committed_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_account_id.sql
new file mode 100644
index 00000000..74d736d3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_number.sql
new file mode 100644
index 00000000..b8b5bdc1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..937b4507
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_collected_fees.sql
new file mode 100644
index 00000000..2856bba3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_contract.sql
new file mode 100644
index 00000000..4a4bd802
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_event_name.sql
new file mode 100644
index 00000000..eee0af20
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql
new file mode 100644
index 00000000..4efd9cda
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_market_id.sql
new file mode 100644
index 00000000..6dac1b11
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..b0c5ce69
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_order_settled_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql
new file mode 100644
index 00000000..257a746a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select current_position_size
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where current_position_size is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql
new file mode 100644
index 00000000..7a901e56
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_account_id.sql
new file mode 100644
index 00000000..8840d5fd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_number.sql
new file mode 100644
index 00000000..f347cba2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..1f677931
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_contract.sql
new file mode 100644
index 00000000..cc933e07
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_event_name.sql
new file mode 100644
index 00000000..79b8a744
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql
new file mode 100644
index 00000000..e4990dcc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_market_id.sql
new file mode 100644
index 00000000..1d0f8e48
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..8de10481
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql
new file mode 100644
index 00000000..45e3311d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql
new file mode 100644
index 00000000..eab85d87
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_account_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_account_id.sql
new file mode 100644
index 00000000..cbbb457f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_block_number.sql
new file mode 100644
index 00000000..cc37a4da
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_contract.sql
new file mode 100644
index 00000000..96931be4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_event_name.sql
new file mode 100644
index 00000000..89025bd3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql
new file mode 100644
index 00000000..a6fcfd0f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_market_id.sql
new file mode 100644
index 00000000..4bf92e15
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_previous_order_expired_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql
new file mode 100644
index 00000000..2c0b931b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_created_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_account_created_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql
new file mode 100644
index 00000000..94cacabe
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_account_liquidation_attempt_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_account_liquidation_attempt_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql
new file mode 100644
index 00000000..eb121c50
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_collateral_modified_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_collateral_modified_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_base_mainnet_id.sql
new file mode 100644
index 00000000..c80254bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_interest_charged_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..2dbd26cb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_updated_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_interest_rate_updated_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_created_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_created_base_mainnet_id.sql
new file mode 100644
index 00000000..f5a96534
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_created_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_market_created_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql
new file mode 100644
index 00000000..a896bd2e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_updated_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_market_updated_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql
new file mode 100644
index 00000000..6bed39cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_committed_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_order_committed_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql
new file mode 100644
index 00000000..c4838d67
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_order_settled_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_order_settled_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql
new file mode 100644
index 00000000..9510fbd7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_position_liquidated_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_position_liquidated_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql
new file mode 100644
index 00000000..99e3a8c5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_previous_order_expired_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."perp_previous_order_expired_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql
new file mode 100644
index 00000000..f3c1f271
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+with recency as (
+
+ select
+
+
+
+ max(ts) as most_recent
+
+ from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet"
+
+
+
+)
+
+select
+
+
+ most_recent,
+ cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp) as threshold
+
+from recency
+where most_recent < cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp)
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql
new file mode 100644
index 00000000..7eb90e2b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/not_null_blocks_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql
new file mode 100644
index 00000000..d2fab6f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/schema.yml/unique_blocks_base_mainnet_block_number.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ block_number as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."blocks_base_mainnet"
+where block_number is not null
+group by block_number
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql
new file mode 100644
index 00000000..0f481e27
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCancelled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql
new file mode 100644
index 00000000..6253bfdb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCommitted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql
new file mode 100644
index 00000000..332f863f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderSettled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql
new file mode 100644
index 00000000..f4587000
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthBought'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql
new file mode 100644
index 00000000..67a7e7b5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql
new file mode 100644
index 00000000..fc67a7c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthSold'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql
new file mode 100644
index 00000000..9f58d1c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthUnwrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql
new file mode 100644
index 00000000..60f1847b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthWrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql
new file mode 100644
index 00000000..56975d51
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_unwrapped >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql
new file mode 100644
index 00000000..565171ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql
new file mode 100644
index 00000000..44855211
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql
new file mode 100644
index 00000000..1b02773f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql
new file mode 100644
index 00000000..7f7d28c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql
new file mode 100644
index 00000000..58c035e1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql
new file mode 100644
index 00000000..f4b4142f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql
new file mode 100644
index 00000000..38cf5210
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql
new file mode 100644
index 00000000..6d33318f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql
new file mode 100644
index 00000000..007e9271
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_returned >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql
new file mode 100644
index 00000000..bf40fbb1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql
new file mode 100644
index 00000000..a9f02825
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql
new file mode 100644
index 00000000..227f04c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql
new file mode 100644
index 00000000..5db05c5e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql
new file mode 100644
index 00000000..b1709f86
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_provided >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql
new file mode 100644
index 00000000..9466fdcf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not final_order_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql
new file mode 100644
index 00000000..222a6e3a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql
new file mode 100644
index 00000000..88b43541
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql
new file mode 100644
index 00000000..130d4b33
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql
new file mode 100644
index 00000000..88a7cf61
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_number.sql
new file mode 100644
index 00000000..6616aa83
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..a356ce2b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_contract.sql
new file mode 100644
index 00000000..33a17427
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_event_name.sql
new file mode 100644
index 00000000..2d1488c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql
new file mode 100644
index 00000000..d6c8b906
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_market_id.sql
new file mode 100644
index 00000000..cdf0be7c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_sender.sql
new file mode 100644
index 00000000..76770d07
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..7a0b3442
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_amount_provided.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_amount_provided.sql
new file mode 100644
index 00000000..a3622a50
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_amount_provided.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_provided
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where amount_provided is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_number.sql
new file mode 100644
index 00000000..f330117d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..42afbaab
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_contract.sql
new file mode 100644
index 00000000..590c762f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_event_name.sql
new file mode 100644
index 00000000..09b93f5f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql
new file mode 100644
index 00000000..3eabae30
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_market_id.sql
new file mode 100644
index 00000000..d9b0a753
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_order_type.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_order_type.sql
new file mode 100644
index 00000000..dbfb2a81
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_referrer.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_referrer.sql
new file mode 100644
index 00000000..c5152ebc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_sender.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_sender.sql
new file mode 100644
index 00000000..8bef929e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..7b7beac3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_committed_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_number.sql
new file mode 100644
index 00000000..39feb47d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..7b5d55f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_collected_fees.sql
new file mode 100644
index 00000000..bde9942f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_contract.sql
new file mode 100644
index 00000000..0ce45253
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_event_name.sql
new file mode 100644
index 00000000..c0fb1432
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql
new file mode 100644
index 00000000..c6837c74
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_market_id.sql
new file mode 100644
index 00000000..dc6c92a1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_order_type.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_order_type.sql
new file mode 100644
index 00000000..2c2facf0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_price.sql
new file mode 100644
index 00000000..5d9e9f25
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_settler.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_settler.sql
new file mode 100644
index 00000000..c9d0734e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..2d7b5df1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_order_settled_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_number.sql
new file mode 100644
index 00000000..dc624852
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..4bdbf418
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_collected_fees.sql
new file mode 100644
index 00000000..0dd9a28c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_contract.sql
new file mode 100644
index 00000000..294a8991
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_event_name.sql
new file mode 100644
index 00000000..0c8a3b27
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql
new file mode 100644
index 00000000..9d6dc442
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_price.sql
new file mode 100644
index 00000000..d7b85a1b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_referrer.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_referrer.sql
new file mode 100644
index 00000000..cd8f50bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..19be29ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..074cb36d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_bought_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_number.sql
new file mode 100644
index 00000000..5b1ee0be
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..6bc6877e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_contract.sql
new file mode 100644
index 00000000..a6e852c2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_event_name.sql
new file mode 100644
index 00000000..84e92e7d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql
new file mode 100644
index 00000000..d714b8ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..fc6a2e70
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_token_address.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_token_address.sql
new file mode 100644
index 00000000..4487e9c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_synth_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..467139c5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_registered_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_amount_returned.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_amount_returned.sql
new file mode 100644
index 00000000..104eb6ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_amount_returned.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_returned
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where amount_returned is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_number.sql
new file mode 100644
index 00000000..c1165de9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..6d194510
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_collected_fees.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_collected_fees.sql
new file mode 100644
index 00000000..0b97f1b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_contract.sql
new file mode 100644
index 00000000..34840e7a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_event_name.sql
new file mode 100644
index 00000000..b8681f45
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql
new file mode 100644
index 00000000..00106c6e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_price.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_price.sql
new file mode 100644
index 00000000..24e0fc23
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_referrer.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_referrer.sql
new file mode 100644
index 00000000..17d02a80
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..a81ecb00
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..3f59613f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_sold_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql
new file mode 100644
index 00000000..f806419a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_unwrapped
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where amount_unwrapped is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_number.sql
new file mode 100644
index 00000000..61d24005
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..52545ad1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_contract.sql
new file mode 100644
index 00000000..17f47dbe
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_event_name.sql
new file mode 100644
index 00000000..f2c4ce50
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql
new file mode 100644
index 00000000..7b5505d3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql
new file mode 100644
index 00000000..39cff499
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..b68be475
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..ea42df07
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_number.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_number.sql
new file mode 100644
index 00000000..c3c4d2b8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..f6a9055e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_contract.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_contract.sql
new file mode 100644
index 00000000..0a65f85e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_event_name.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_event_name.sql
new file mode 100644
index 00000000..16e347b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql
new file mode 100644
index 00000000..77794d4e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql
new file mode 100644
index 00000000..d12eed65
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql
new file mode 100644
index 00000000..7f1d4797
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..b66370a1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql
new file mode 100644
index 00000000..4ba9dc38
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_cancelled_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_order_cancelled_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql
new file mode 100644
index 00000000..896f3982
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_committed_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_order_committed_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql
new file mode 100644
index 00000000..cff6d35d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_order_settled_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_order_settled_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql
new file mode 100644
index 00000000..0cbab168
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_bought_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_synth_bought_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql
new file mode 100644
index 00000000..08f0e37a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_registered_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_synth_registered_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql
new file mode 100644
index 00000000..5233a55d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_sold_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_synth_sold_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql
new file mode 100644
index 00000000..3d88d610
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_unwrapped_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_synth_unwrapped_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql
new file mode 100644
index 00000000..15a634e1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/schema.yml/unique_spot_synth_wrapped_base_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_mainnet"."spot_synth_wrapped_base_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql
new file mode 100644
index 00000000..47c477f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_cancelled"
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql
new file mode 100644
index 00000000..69164ba7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_committed_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_committed"
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql
new file mode 100644
index 00000000..b75cc49a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql
new file mode 100644
index 00000000..3243fc5d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_bought_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_bought"
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql
new file mode 100644
index 00000000..b295b169
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_registered"
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql
new file mode 100644
index 00000000..31384625
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_sold"
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql
new file mode 100644
index 00000000..4c1f2a97
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_unwrapped"
diff --git a/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql
new file mode 100644
index 00000000..5c8e643e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_wrapped_base_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_mainnet"."spot_market_proxy_event_synth_wrapped"
diff --git a/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql
new file mode 100644
index 00000000..fd9a7c60
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql
@@ -0,0 +1,38 @@
+WITH indexer_blocks AS (
+ SELECT
+ "timestamp" AS ts,
+ CAST(
+ "number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_base_sepolia"."block"
+),
+parquet_blocks AS (
+ SELECT
+ TO_TIMESTAMP("timestamp") AS ts,
+ CAST(
+ "block_number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_base_sepolia"."blocks_parquet"
+),
+combined_blocks AS (
+ SELECT
+ *
+ FROM
+ indexer_blocks
+
+ UNION ALL
+
+ SELECT
+ *
+ FROM
+ parquet_blocks
+)
+SELECT
+ DISTINCT MIN(ts) AS ts,
+ block_number
+FROM
+ combined_blocks
+GROUP BY
+ block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql
new file mode 100644
index 00000000..87c0917a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/buyback_processed_base_sepolia.sql
@@ -0,0 +1,21 @@
+WITH current_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."buyback_snx_event_buyback_processed"
+
+)
+
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ event_name,
+ contract,
+ buyer,
+ snx,
+ usd
+FROM
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql
new file mode 100644
index 00000000..05de3d39
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'BuybackProcessed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql
new file mode 100644
index 00000000..d2e6096d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not usd >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql
new file mode 100644
index 00000000..2e91e90b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not snx >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql
new file mode 100644
index 00000000..17b3d4cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..8cb0bf05
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql
new file mode 100644
index 00000000..c4a081f2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select buyer
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where buyer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql
new file mode 100644
index 00000000..4db383ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql
new file mode 100644
index 00000000..f80933c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql
new file mode 100644
index 00000000..9da51256
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql
new file mode 100644
index 00000000..b7313603
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select snx
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where snx is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..e00abded
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql
new file mode 100644
index 00000000..421749ee
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select usd
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where usd is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_base_sepolia_id.sql
new file mode 100644
index 00000000..5d5d1a1d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."buyback_processed_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql
new file mode 100644
index 00000000..2fd652e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_account_created_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql
new file mode 100644
index 00000000..0a1d8aa4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_delegation_updated_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_delegation_updated"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql
new file mode 100644
index 00000000..7a59fd71
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_deposited_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_deposited"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql
new file mode 100644
index 00000000..5715b0af
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_liquidation_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_liquidation"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql
new file mode 100644
index 00000000..e85f8178
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_market_registered_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_market_registered"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql
new file mode 100644
index 00000000..a8176c81
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_market_updated_base_sepolia.sql
@@ -0,0 +1,151 @@
+WITH events AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_legacy_event_market_usd_deposited"
+
+ ) legacy_usd_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_legacy_event_market_usd_withdrawn"
+
+ ) legacy_usd_withdrawn
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_market_collateral_deposited"
+
+ ) collateral_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_market_collateral_withdrawn"
+
+ ) collateral_withdrawn
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_market_usd_deposited"
+
+ ) usd_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_market_usd_withdrawn"
+
+ ) usd_withdrawn
+)
+SELECT
+ *
+FROM
+ events
+ORDER BY
+ block_timestamp
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql
new file mode 100644
index 00000000..a65e7ca8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_pool_created_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_pool_created"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql
new file mode 100644
index 00000000..2ea04e0c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_claimed_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_rewards_claimed"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql
new file mode 100644
index 00000000..0ddf120f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_rewards_distributed_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_rewards_distributed"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql
new file mode 100644
index 00000000..53fb3bae
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_burned_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_usd_burned"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql
new file mode 100644
index 00000000..c93d46a3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_usd_minted_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_usd_minted"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql
new file mode 100644
index 00000000..76fffd22
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_collateral_base_sepolia.sql
@@ -0,0 +1,41 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ amount as numeric
+ ) as amount,
+ cast(
+ value as numeric
+ ) as collateral_value
+ from
+ "analytics"."raw_base_sepolia"."core_get_vault_collateral"
+ where
+ amount is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.amount / 1e18
+ as amount,
+
+ base.collateral_value / 1e18
+ as collateral_value
+from
+ base
+inner join "analytics"."raw_base_sepolia"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql
new file mode 100644
index 00000000..ee69f8bf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_debt_base_sepolia.sql
@@ -0,0 +1,35 @@
+with base as (
+ select
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ cast(
+ value_1 as numeric
+ ) as debt
+ from
+ "analytics"."raw_base_sepolia"."core_get_vault_debt"
+ where
+ value_1 is not null
+)
+
+select
+ to_timestamp(blocks.timestamp) as ts,
+ cast(
+ blocks.block_number as integer
+ ) as block_number,
+ base.contract_address,
+ cast(
+ base.pool_id as integer
+ ) as pool_id,
+ cast(
+ base.collateral_type as varchar
+ ) as collateral_type,
+
+ base.debt / 1e18
+ as debt
+from
+ base
+inner join "analytics"."raw_base_sepolia"."blocks_parquet" as blocks
+ on base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql
new file mode 100644
index 00000000..c997512f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_vault_liquidation"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql
new file mode 100644
index 00000000..e4483001
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/core_withdrawn_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."core_proxy_event_withdrawn"
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql
new file mode 100644
index 00000000..840525c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql
new file mode 100644
index 00000000..85315e6c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'DelegationUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql
new file mode 100644
index 00000000..189f6aaa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Deposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql
new file mode 100644
index 00000000..cf4d3a7d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Liquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql
new file mode 100644
index 00000000..2cd7434e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql
new file mode 100644
index 00000000..7076658a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql
new file mode 100644
index 00000000..4f2b0c96
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PoolCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql
new file mode 100644
index 00000000..e62d8c44
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsClaimed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql
new file mode 100644
index 00000000..1aa8921f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsDistributed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql
new file mode 100644
index 00000000..e48ea782
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdBurned'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql
new file mode 100644
index 00000000..237833f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdMinted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql
new file mode 100644
index 00000000..2e95e262
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VaultLiquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql
new file mode 100644
index 00000000..60bee6c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Withdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql
new file mode 100644
index 00000000..d3ef1261
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql
new file mode 100644
index 00000000..ea8fcb8e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage >= 1000000000000000000
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage <= 1000000000000000000
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql
new file mode 100644
index 00000000..5896d561
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql
new file mode 100644
index 00000000..816b9b28
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql
new file mode 100644
index 00000000..5bb81fcd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql
new file mode 100644
index 00000000..60cb537e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql
new file mode 100644
index 00000000..bcc9cc7f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql
new file mode 100644
index 00000000..6a42676e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql
new file mode 100644
index 00000000..c892523f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql
new file mode 100644
index 00000000..612d2551
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql
new file mode 100644
index 00000000..a1ba3bad
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql
new file mode 100644
index 00000000..d2731b06
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql
new file mode 100644
index 00000000..a4d1ca07
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql
new file mode 100644
index 00000000..13f8480b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql
new file mode 100644
index 00000000..9bda28d9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not deposited_collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql
new file mode 100644
index 00000000..f4ca60e1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql
new file mode 100644
index 00000000..bedf2949
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql
new file mode 100644
index 00000000..c18fe448
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql
new file mode 100644
index 00000000..61c78c3b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql
new file mode 100644
index 00000000..eabb8988
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql
new file mode 100644
index 00000000..0600436e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql
new file mode 100644
index 00000000..dfa8bde0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not duration >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql
new file mode 100644
index 00000000..3128755c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql
new file mode 100644
index 00000000..eebd89eb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql
new file mode 100644
index 00000000..48c4e4ae
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql
new file mode 100644
index 00000000..06024225
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql
new file mode 100644
index 00000000..c10ebcf2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql
new file mode 100644
index 00000000..6f3bb061
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql
new file mode 100644
index 00000000..7594dfcf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql
new file mode 100644
index 00000000..14d39be0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql
new file mode 100644
index 00000000..b6fe46d8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql
new file mode 100644
index 00000000..a71358bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql
new file mode 100644
index 00000000..52d01a05
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql
new file mode 100644
index 00000000..95769d1c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_account_id.sql
new file mode 100644
index 00000000..ce83a1df
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_number.sql
new file mode 100644
index 00000000..66514a46
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..cd7ad098
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_contract.sql
new file mode 100644
index 00000000..afe36533
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_event_name.sql
new file mode 100644
index 00000000..b91b3f3b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql
new file mode 100644
index 00000000..2b16ce4c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_owner.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_owner.sql
new file mode 100644
index 00000000..3b5e4c53
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..d089bc1b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_account_created_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_account_id.sql
new file mode 100644
index 00000000..8aacd8b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_amount.sql
new file mode 100644
index 00000000..adc3370f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_number.sql
new file mode 100644
index 00000000..595d282b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..b5fc92ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..f486cbc3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_contract.sql
new file mode 100644
index 00000000..529b8acb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_event_name.sql
new file mode 100644
index 00000000..b9e4c292
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..a54eb52c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_leverage.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_leverage.sql
new file mode 100644
index 00000000..1162a489
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_leverage.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select leverage
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where leverage is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..b7c01772
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_sender.sql
new file mode 100644
index 00000000..9da7c5ac
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..c3738d12
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_delegation_updated_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_account_id.sql
new file mode 100644
index 00000000..b2fda164
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_number.sql
new file mode 100644
index 00000000..b1b4c3c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..35401225
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..5c28ac3b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_contract.sql
new file mode 100644
index 00000000..7a884f5d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_event_name.sql
new file mode 100644
index 00000000..5993aae1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql
new file mode 100644
index 00000000..9575815c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_sender.sql
new file mode 100644
index 00000000..7ae9665f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_token_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_token_amount.sql
new file mode 100644
index 00000000..6b0a2b12
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..ab5c6e46
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_deposited_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_account_id.sql
new file mode 100644
index 00000000..728bcd8c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_number.sql
new file mode 100644
index 00000000..de80d4c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..21034d05
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..5d76007c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_contract.sql
new file mode 100644
index 00000000..769874ee
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_event_name.sql
new file mode 100644
index 00000000..262ea2e5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql
new file mode 100644
index 00000000..e39b3676
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql
new file mode 100644
index 00000000..dc047c5e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..30dda932
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_sender.sql
new file mode 100644
index 00000000..4dff0af1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..9ba1be0a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_liquidation_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_number.sql
new file mode 100644
index 00000000..22f80956
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..0fe9ee71
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_contract.sql
new file mode 100644
index 00000000..5d924b42
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_event_name.sql
new file mode 100644
index 00000000..c765d6cc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql
new file mode 100644
index 00000000..c0fe8bb4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market.sql
new file mode 100644
index 00000000..766b97fc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where market is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market_id.sql
new file mode 100644
index 00000000..8273310c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_sender.sql
new file mode 100644
index 00000000..da69707f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..d08479c7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_registered_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql
new file mode 100644
index 00000000..0276ce68
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select deposited_collateral_value
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where deposited_collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_number.sql
new file mode 100644
index 00000000..c0be8b0b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..ac07bc4d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..9ef31260
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_contract.sql
new file mode 100644
index 00000000..a3a9b89c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_credit_capacity.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_credit_capacity.sql
new file mode 100644
index 00000000..6abf0c32
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_event_name.sql
new file mode 100644
index 00000000..d54f12bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..0e043816
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_market_id.sql
new file mode 100644
index 00000000..b1ff8404
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_net_issuance.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_net_issuance.sql
new file mode 100644
index 00000000..7a2696e4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_sender.sql
new file mode 100644
index 00000000..dfe5a7da
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_token_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_token_amount.sql
new file mode 100644
index 00000000..0d6c8ae0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..8f5aa398
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_market_updated_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_number.sql
new file mode 100644
index 00000000..cae02ad5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..0c647d8f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_contract.sql
new file mode 100644
index 00000000..ac98f214
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_event_name.sql
new file mode 100644
index 00000000..3fe53125
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql
new file mode 100644
index 00000000..bae2e61f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_owner.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_owner.sql
new file mode 100644
index 00000000..68f571bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..60a35901
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_sender.sql
new file mode 100644
index 00000000..c0e94ccb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..16f824ed
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_pool_created_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_account_id.sql
new file mode 100644
index 00000000..aa4c0f3d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_amount.sql
new file mode 100644
index 00000000..761e76e6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_number.sql
new file mode 100644
index 00000000..82eafe15
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..8db5b81d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..35bde73f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_contract.sql
new file mode 100644
index 00000000..1a99e9d7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_distributor.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_distributor.sql
new file mode 100644
index 00000000..ea0db338
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_event_name.sql
new file mode 100644
index 00000000..7f4f4754
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql
new file mode 100644
index 00000000..975c545f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..784cc94e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..b0dc5aa1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_amount.sql
new file mode 100644
index 00000000..e8190dd9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_number.sql
new file mode 100644
index 00000000..2c85cf87
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..fcae6c8e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..65765177
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_contract.sql
new file mode 100644
index 00000000..256095d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_distributor.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_distributor.sql
new file mode 100644
index 00000000..89f5b5c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_duration.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_duration.sql
new file mode 100644
index 00000000..87ebeb97
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_duration.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select duration
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where duration is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_event_name.sql
new file mode 100644
index 00000000..3a523e9c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql
new file mode 100644
index 00000000..1f22834f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..00b39a7d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..02cdf3dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_account_id.sql
new file mode 100644
index 00000000..3a3067a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_amount.sql
new file mode 100644
index 00000000..751c90a3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_number.sql
new file mode 100644
index 00000000..66753681
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..a4709103
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..c795f309
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_contract.sql
new file mode 100644
index 00000000..dc49f1a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_event_name.sql
new file mode 100644
index 00000000..05d83a71
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql
new file mode 100644
index 00000000..dde6593b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..2e7bf70b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_sender.sql
new file mode 100644
index 00000000..b761c9b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..23f4b087
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_burned_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_account_id.sql
new file mode 100644
index 00000000..07d8b58d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_amount.sql
new file mode 100644
index 00000000..b89288d9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_number.sql
new file mode 100644
index 00000000..c0a0a281
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..fdf73ab0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..983f36f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_contract.sql
new file mode 100644
index 00000000..56c224fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_event_name.sql
new file mode 100644
index 00000000..f23e03b3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql
new file mode 100644
index 00000000..9f97825e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..6b735377
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_sender.sql
new file mode 100644
index 00000000..193daa7c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..b546be4c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_usd_minted_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql
new file mode 100644
index 00000000..74a096d2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql
new file mode 100644
index 00000000..b9f0f241
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..adc5819a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql
new file mode 100644
index 00000000..b97cbcef
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql
new file mode 100644
index 00000000..aa6f2fef
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..64106c6b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql
new file mode 100644
index 00000000..19d2cde2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_base_sepolia"."core_vault_collateral_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql
new file mode 100644
index 00000000..2ae1b850
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..d26c89bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql
new file mode 100644
index 00000000..6a58c77c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql
new file mode 100644
index 00000000..e753d803
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..8fa7480a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql
new file mode 100644
index 00000000..e258249e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_base_sepolia"."core_vault_debt_base_sepolia"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql
new file mode 100644
index 00000000..19508e52
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_number.sql
new file mode 100644
index 00000000..cef1d97e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..1860d8cb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..48834b97
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_contract.sql
new file mode 100644
index 00000000..d2828bb2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_event_name.sql
new file mode 100644
index 00000000..244b6e12
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql
new file mode 100644
index 00000000..67996b20
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql
new file mode 100644
index 00000000..360978b8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidation_data
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where liquidation_data is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_pool_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_pool_id.sql
new file mode 100644
index 00000000..d85c48be
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_sender.sql
new file mode 100644
index 00000000..53c3b137
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..3dbfb73c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_account_id.sql
new file mode 100644
index 00000000..33410bbb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_number.sql
new file mode 100644
index 00000000..449df2bb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..b940134f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_collateral_type.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_collateral_type.sql
new file mode 100644
index 00000000..d83a5511
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_contract.sql
new file mode 100644
index 00000000..f62715a4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_event_name.sql
new file mode 100644
index 00000000..bd864176
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql
new file mode 100644
index 00000000..5451b429
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_sender.sql
new file mode 100644
index 00000000..7a57b794
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_token_amount.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_token_amount.sql
new file mode 100644
index 00000000..121dbfcf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..5ef6cf54
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_withdrawn_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql
new file mode 100644
index 00000000..bcaa88a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_account_created_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_account_created_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..ad57ab2f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_delegation_updated_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_delegation_updated_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql
new file mode 100644
index 00000000..69662d9d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_deposited_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_deposited_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql
new file mode 100644
index 00000000..324539fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_liquidation_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_liquidation_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql
new file mode 100644
index 00000000..de92bc9b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_market_id.sql
new file mode 100644
index 00000000..466bb830
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_registered_base_sepolia_market_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ market_id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_market_registered_base_sepolia"
+where market_id is not null
+group by market_id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..19cc040a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_market_updated_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_market_updated_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql
new file mode 100644
index 00000000..d551f47b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_pool_created_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_pool_created_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql
new file mode 100644
index 00000000..682fd3aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_claimed_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_rewards_claimed_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql
new file mode 100644
index 00000000..61fc4e55
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_rewards_distributed_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_rewards_distributed_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql
new file mode 100644
index 00000000..2f570332
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_burned_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_usd_burned_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql
new file mode 100644
index 00000000..1afa29d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_usd_minted_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_usd_minted_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql
new file mode 100644
index 00000000..afae4dbf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_vault_liquidation_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql
new file mode 100644
index 00000000..a615eacd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_withdrawn_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."core_withdrawn_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql
new file mode 100644
index 00000000..31f9c3ad
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_created_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql
new file mode 100644
index 00000000..62b4656e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_account_liquidation_attempt_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_account_liquidation_attempt"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql
new file mode 100644
index 00000000..67c764a7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_collateral_modified_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_collateral_modified"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql
new file mode 100644
index 00000000..702df676
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_charged_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_interest_charged"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql
new file mode 100644
index 00000000..7c24b6b0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_interest_rate_updated_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_interest_rate_updated"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql
new file mode 100644
index 00000000..469c9e9c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_created_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_market_created"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql
new file mode 100644
index 00000000..4fd47c2e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql
@@ -0,0 +1,51 @@
+WITH legacy_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_legacy_event_market_updated"
+
+),
+current_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_market_updated"
+
+)
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ price,
+ skew,
+ SIZE,
+ size_delta,
+ current_funding_rate,
+ current_funding_velocity,
+ 0 AS interest_rate
+FROM
+ legacy_events
+UNION ALL
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ price,
+ skew,
+ SIZE,
+ size_delta,
+ current_funding_rate,
+ current_funding_velocity,
+ interest_rate
+FROM
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql
new file mode 100644
index 00000000..e5072c35
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql
@@ -0,0 +1,59 @@
+WITH legacy_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_legacy_event_order_committed"
+
+),
+current_events AS (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_order_committed"
+
+)
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ account_id,
+ commitment_time,
+ expiration_time,
+ settlement_time,
+ CAST(
+ NULL AS numeric
+ ) AS expected_price_time,
+ acceptable_price,
+ order_type,
+ size_delta,
+ sender,
+ tracking_code
+FROM
+ legacy_events
+UNION ALL
+SELECT
+ id,
+ block_number,
+ block_timestamp,
+ transaction_hash,
+ "contract",
+ event_name,
+ market_id,
+ account_id,
+ commitment_time,
+ expiration_time,
+ settlement_time,
+ expected_price_time,
+ acceptable_price,
+ order_type,
+ size_delta,
+ sender,
+ tracking_code
+FROM
+ current_events
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql
new file mode 100644
index 00000000..78cde474
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_settled_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql
new file mode 100644
index 00000000..534ed44f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_position_liquidated_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_position_liquidated"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql
new file mode 100644
index 00000000..0d5b6dc4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_previous_order_expired_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."perps_market_proxy_event_previous_order_expired"
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql
new file mode 100644
index 00000000..86411345
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql
new file mode 100644
index 00000000..d6276110
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountLiquidationAttempt'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql
new file mode 100644
index 00000000..5120cac1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'CollateralModified'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql
new file mode 100644
index 00000000..8a6ffec0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestRateUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql
new file mode 100644
index 00000000..14b86c38
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'InterestCharged'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql
new file mode 100644
index 00000000..bb374980
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql
new file mode 100644
index 00000000..944d53ab
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql
new file mode 100644
index 00000000..14cbf3df
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCommitted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql
new file mode 100644
index 00000000..28df8b82
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderSettled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql
new file mode 100644
index 00000000..81c9124a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PositionLiquidated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql
new file mode 100644
index 00000000..65416d4c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PreviousOrderExpired'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql
new file mode 100644
index 00000000..cd99ab5a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql
new file mode 100644
index 00000000..d79725a3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not interest_rate >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql
new file mode 100644
index 00000000..d7d636f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql
new file mode 100644
index 00000000..e78d2601
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not reward >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql
new file mode 100644
index 00000000..9bd6834a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not super_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql
new file mode 100644
index 00000000..61edb935
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql
new file mode 100644
index 00000000..e193e7aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql
new file mode 100644
index 00000000..f2b858b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql
new file mode 100644
index 00000000..177da9c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not perps_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql
new file mode 100644
index 00000000..33155e8e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not current_position_size >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql
new file mode 100644
index 00000000..d0c122a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql
new file mode 100644
index 00000000..94099295
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql
new file mode 100644
index 00000000..145dacca
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql
new file mode 100644
index 00000000..cf013fae
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql
new file mode 100644
index 00000000..587f4b3b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql
new file mode 100644
index 00000000..17833ba4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql
new file mode 100644
index 00000000..459583ca
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql
new file mode 100644
index 00000000..e2e2ae72
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_liquidated >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql
new file mode 100644
index 00000000..16b71468
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql
new file mode 100644
index 00000000..592d06db
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql
new file mode 100644
index 00000000..8cf7aa06
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql
new file mode 100644
index 00000000..dcf9f644
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql
new file mode 100644
index 00000000..99c7e24c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_account_id.sql
new file mode 100644
index 00000000..11d648d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_number.sql
new file mode 100644
index 00000000..8fecf850
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..8ddd2371
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_contract.sql
new file mode 100644
index 00000000..62b71530
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_event_name.sql
new file mode 100644
index 00000000..1edea44f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql
new file mode 100644
index 00000000..bcc587a9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_owner.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_owner.sql
new file mode 100644
index 00000000..1cb13eae
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..c0ed5263
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_created_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql
new file mode 100644
index 00000000..0012bffb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql
new file mode 100644
index 00000000..3c9e382c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select full_liquidation
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where full_liquidation is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql
new file mode 100644
index 00000000..6fbd5bec
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql
new file mode 100644
index 00000000..b87eafcb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql
new file mode 100644
index 00000000..0a7386d1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql
new file mode 100644
index 00000000..dbbaacff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql
new file mode 100644
index 00000000..6791858f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql
new file mode 100644
index 00000000..32d82d41
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql
new file mode 100644
index 00000000..c1c272e0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select reward
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where reward is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_account_id.sql
new file mode 100644
index 00000000..461bf596
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_number.sql
new file mode 100644
index 00000000..36576d96
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..b21e64f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_contract.sql
new file mode 100644
index 00000000..8bebeb41
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_event_name.sql
new file mode 100644
index 00000000..af3b21d4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql
new file mode 100644
index 00000000..17888e3a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_sender.sql
new file mode 100644
index 00000000..b8071d65
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..31086ad9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..c9a1ec03
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql
new file mode 100644
index 00000000..27283f59
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql
new file mode 100644
index 00000000..692e2f09
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..fe34df66
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql
new file mode 100644
index 00000000..9c128a8d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql
new file mode 100644
index 00000000..d052eace
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql
new file mode 100644
index 00000000..13f98388
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..75aec04a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql
new file mode 100644
index 00000000..53b18dc9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select super_market_id
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where super_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql
new file mode 100644
index 00000000..e3850732
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql
new file mode 100644
index 00000000..17efede0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql
new file mode 100644
index 00000000..d9ef6c4e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql
new file mode 100644
index 00000000..f50c5f07
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql
new file mode 100644
index 00000000..bd83cbe9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..bb46e2ac
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql
new file mode 100644
index 00000000..1aef9c2c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql
new file mode 100644
index 00000000..dc1b0734
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..5762824d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql
new file mode 100644
index 00000000..7dfb380b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql
new file mode 100644
index 00000000..0cc3f4dd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql
new file mode 100644
index 00000000..90dee969
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql
new file mode 100644
index 00000000..97891754
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_name
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where market_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql
new file mode 100644
index 00000000..eab90adf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_symbol
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where market_symbol is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql
new file mode 100644
index 00000000..c57333d5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select perps_market_id
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where perps_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..ab2aa94f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_number.sql
new file mode 100644
index 00000000..0e47749a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..78892ea0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_contract.sql
new file mode 100644
index 00000000..7ae850d1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_event_name.sql
new file mode 100644
index 00000000..1d2fcc7f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..e042f06c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_interest_rate.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_interest_rate.sql
new file mode 100644
index 00000000..a1bb3c00
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_interest_rate.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select interest_rate
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where interest_rate is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_market_id.sql
new file mode 100644
index 00000000..23357c43
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_price.sql
new file mode 100644
index 00000000..2d122714
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..a2612a85
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_updated_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_account_id.sql
new file mode 100644
index 00000000..4642e1ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_number.sql
new file mode 100644
index 00000000..d6c34a4c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..5de8d855
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_contract.sql
new file mode 100644
index 00000000..caf97e5b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_event_name.sql
new file mode 100644
index 00000000..cea76699
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql
new file mode 100644
index 00000000..1bb361f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_market_id.sql
new file mode 100644
index 00000000..6ccd5ec3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..149689c0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_committed_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_account_id.sql
new file mode 100644
index 00000000..0ec81d52
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_number.sql
new file mode 100644
index 00000000..8fa5bb90
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..ff8d9799
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_collected_fees.sql
new file mode 100644
index 00000000..471cf07a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_contract.sql
new file mode 100644
index 00000000..607b6b0c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_event_name.sql
new file mode 100644
index 00000000..46cdea2d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql
new file mode 100644
index 00000000..301ba8bc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_market_id.sql
new file mode 100644
index 00000000..fa4e7d76
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..8f05bedf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_order_settled_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql
new file mode 100644
index 00000000..b0af6773
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_liquidated
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where amount_liquidated is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql
new file mode 100644
index 00000000..cf270761
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select current_position_size
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where current_position_size is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_account_id.sql
new file mode 100644
index 00000000..e647c518
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_number.sql
new file mode 100644
index 00000000..fb21f8a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..4ebd8fa5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_contract.sql
new file mode 100644
index 00000000..c14c2d9c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_event_name.sql
new file mode 100644
index 00000000..ba618e61
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql
new file mode 100644
index 00000000..2d00f540
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_market_id.sql
new file mode 100644
index 00000000..83b18fd4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..a2ab7603
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql
new file mode 100644
index 00000000..fcc6dbc0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql
new file mode 100644
index 00000000..985a52cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_account_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_account_id.sql
new file mode 100644
index 00000000..1c79a26c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_block_number.sql
new file mode 100644
index 00000000..ef18e280
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_contract.sql
new file mode 100644
index 00000000..6184ebc5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_event_name.sql
new file mode 100644
index 00000000..24cd8f02
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql
new file mode 100644
index 00000000..a3ada392
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_market_id.sql
new file mode 100644
index 00000000..5fb7c4a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_previous_order_expired_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql
new file mode 100644
index 00000000..4a0c71f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_created_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_account_created_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql
new file mode 100644
index 00000000..e1490ccb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_account_liquidation_attempt_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_account_liquidation_attempt_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql
new file mode 100644
index 00000000..74128dc4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_collateral_modified_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_collateral_modified_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_base_sepolia_id.sql
new file mode 100644
index 00000000..49dbec1b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_interest_charged_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..441ee433
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_updated_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_interest_rate_updated_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_created_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_created_base_sepolia_id.sql
new file mode 100644
index 00000000..a1dd58b1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_created_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_market_created_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql
new file mode 100644
index 00000000..53b640b9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_updated_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_market_updated_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql
new file mode 100644
index 00000000..6618ffc6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_committed_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_order_committed_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql
new file mode 100644
index 00000000..daff45ac
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_order_settled_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_order_settled_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql
new file mode 100644
index 00000000..587b9418
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_position_liquidated_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_position_liquidated_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql
new file mode 100644
index 00000000..b969c1aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_previous_order_expired_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."perp_previous_order_expired_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql
new file mode 100644
index 00000000..297c5e6c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+with recency as (
+
+ select
+
+
+
+ max(ts) as most_recent
+
+ from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia"
+
+
+
+)
+
+select
+
+
+ most_recent,
+ cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp) as threshold
+
+from recency
+where most_recent < cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp)
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql
new file mode 100644
index 00000000..034d3dda
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/not_null_blocks_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql
new file mode 100644
index 00000000..850d36b5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/schema.yml/unique_blocks_base_sepolia_block_number.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ block_number as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."blocks_base_sepolia"
+where block_number is not null
+group by block_number
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql
new file mode 100644
index 00000000..f59e476a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCancelled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql
new file mode 100644
index 00000000..bde95f90
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderCommitted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql
new file mode 100644
index 00000000..7d9de782
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'OrderSettled'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql
new file mode 100644
index 00000000..2050e0c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthBought'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql
new file mode 100644
index 00000000..08e5e6f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql
new file mode 100644
index 00000000..7b49996f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthSold'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql
new file mode 100644
index 00000000..2c28ee3b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthUnwrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql
new file mode 100644
index 00000000..7941a7d5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'SynthWrapped'
+)
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql
new file mode 100644
index 00000000..c9168751
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql
new file mode 100644
index 00000000..c7780c11
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql
new file mode 100644
index 00000000..e70c5311
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_unwrapped >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql
new file mode 100644
index 00000000..65a34cbb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql
new file mode 100644
index 00000000..2110548f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_provided >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql
new file mode 100644
index 00000000..27f7383c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not final_order_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql
new file mode 100644
index 00000000..aa60cdc8
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount_returned >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql
new file mode 100644
index 00000000..91761642
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql
new file mode 100644
index 00000000..f62e9e2a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql
new file mode 100644
index 00000000..cc40ca98
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql
new file mode 100644
index 00000000..04bd9dc2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql
new file mode 100644
index 00000000..21bc6a5c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql
new file mode 100644
index 00000000..59e88ae4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not fees_collected >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql
new file mode 100644
index 00000000..2ec5e187
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql
new file mode 100644
index 00000000..379ce258
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql
new file mode 100644
index 00000000..e4719669
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql
new file mode 100644
index 00000000..bc170303
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collected_fees >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql
new file mode 100644
index 00000000..7fd0fcb9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not price >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql
new file mode 100644
index 00000000..7d5bd430
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql
new file mode 100644
index 00000000..970d0e93
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not synth_market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_number.sql
new file mode 100644
index 00000000..628231ae
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..85c80e23
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_contract.sql
new file mode 100644
index 00000000..5c980520
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_event_name.sql
new file mode 100644
index 00000000..61818533
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql
new file mode 100644
index 00000000..256b80c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_market_id.sql
new file mode 100644
index 00000000..3b7e56b6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_sender.sql
new file mode 100644
index 00000000..6e25e62d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..cb67d22f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_amount_provided.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_amount_provided.sql
new file mode 100644
index 00000000..067abe3c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_amount_provided.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_provided
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where amount_provided is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_number.sql
new file mode 100644
index 00000000..2e193966
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..a93a8541
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_contract.sql
new file mode 100644
index 00000000..5467c454
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_event_name.sql
new file mode 100644
index 00000000..10836dc4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql
new file mode 100644
index 00000000..88b4f9cf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_market_id.sql
new file mode 100644
index 00000000..e0cf1b71
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_order_type.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_order_type.sql
new file mode 100644
index 00000000..0f045c19
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_referrer.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_referrer.sql
new file mode 100644
index 00000000..b792eeda
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_sender.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_sender.sql
new file mode 100644
index 00000000..0672e07a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..0f650c39
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_committed_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_number.sql
new file mode 100644
index 00000000..eaa86efe
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..8a923696
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_collected_fees.sql
new file mode 100644
index 00000000..8a08c9db
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_contract.sql
new file mode 100644
index 00000000..8829657d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_event_name.sql
new file mode 100644
index 00000000..4134e6fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql
new file mode 100644
index 00000000..405cf6f5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_market_id.sql
new file mode 100644
index 00000000..1d50c31c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_order_type.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_order_type.sql
new file mode 100644
index 00000000..1c65736f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_order_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select order_type
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where order_type is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_price.sql
new file mode 100644
index 00000000..f43e98a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_settler.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_settler.sql
new file mode 100644
index 00000000..20648e6e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_settler.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select settler
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where settler is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..b7852ec1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_order_settled_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_number.sql
new file mode 100644
index 00000000..a752c021
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..714cd6f9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_collected_fees.sql
new file mode 100644
index 00000000..f0912c5c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_contract.sql
new file mode 100644
index 00000000..5b3062dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_event_name.sql
new file mode 100644
index 00000000..0221468c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql
new file mode 100644
index 00000000..b67aa194
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_price.sql
new file mode 100644
index 00000000..2a74eb63
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_referrer.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_referrer.sql
new file mode 100644
index 00000000..abc8226a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..1e2acd0c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..bf0faae7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_bought_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_number.sql
new file mode 100644
index 00000000..021e063c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..ad2c3ec6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_contract.sql
new file mode 100644
index 00000000..0d37d336
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_event_name.sql
new file mode 100644
index 00000000..728cc84f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql
new file mode 100644
index 00000000..4ed3a9e9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..457e9447
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_token_address.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_token_address.sql
new file mode 100644
index 00000000..4acde7d6
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_synth_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_token_address
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where synth_token_address is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..4744e7ee
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_registered_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_amount_returned.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_amount_returned.sql
new file mode 100644
index 00000000..abb680d0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_amount_returned.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_returned
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where amount_returned is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_number.sql
new file mode 100644
index 00000000..3092ac81
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..999a5802
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_collected_fees.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_collected_fees.sql
new file mode 100644
index 00000000..47235d90
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_collected_fees.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collected_fees
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where collected_fees is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_contract.sql
new file mode 100644
index 00000000..7ad2fe7b
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_event_name.sql
new file mode 100644
index 00000000..cf4e3934
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql
new file mode 100644
index 00000000..b757b4b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_price.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_price.sql
new file mode 100644
index 00000000..fa359856
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_price.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select price
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where price is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_referrer.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_referrer.sql
new file mode 100644
index 00000000..6b1a78e3
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_referrer.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select referrer
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where referrer is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..e4798c13
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..5d436370
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_sold_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql
new file mode 100644
index 00000000..dd492773
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount_unwrapped
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where amount_unwrapped is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_number.sql
new file mode 100644
index 00000000..0770d594
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..541b25b2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_contract.sql
new file mode 100644
index 00000000..638094dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_event_name.sql
new file mode 100644
index 00000000..b40b250a
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql
new file mode 100644
index 00000000..1077e0f0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql
new file mode 100644
index 00000000..4182bd78
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..4c1d7fe7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..18a6763d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_number.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_number.sql
new file mode 100644
index 00000000..2ca596cd
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql
new file mode 100644
index 00000000..cfb6611f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_contract.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_contract.sql
new file mode 100644
index 00000000..ce119294
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_event_name.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_event_name.sql
new file mode 100644
index 00000000..cc8af45c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql
new file mode 100644
index 00000000..84c88a0d
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select fees_collected
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where fees_collected is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql
new file mode 100644
index 00000000..a5ea32e7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql
new file mode 100644
index 00000000..e8a12265
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select synth_market_id
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where synth_market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql
new file mode 100644
index 00000000..fad27863
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql
new file mode 100644
index 00000000..a540623e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_cancelled_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_order_cancelled_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql
new file mode 100644
index 00000000..2e76d835
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_committed_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_order_committed_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql
new file mode 100644
index 00000000..5cbf18e9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_order_settled_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_order_settled_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql
new file mode 100644
index 00000000..7a852dc5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_bought_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_synth_bought_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql
new file mode 100644
index 00000000..ad591c27
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_registered_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_synth_registered_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql
new file mode 100644
index 00000000..61a60ba5
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_sold_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_synth_sold_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql
new file mode 100644
index 00000000..703aaca9
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_synth_unwrapped_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql
new file mode 100644
index 00000000..df7bcbbf
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_wrapped_base_sepolia_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_base_sepolia"."spot_synth_wrapped_base_sepolia"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql
new file mode 100644
index 00000000..f79bcb5c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_cancelled_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_cancelled"
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql
new file mode 100644
index 00000000..89cf3b8e
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_committed_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_committed"
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql
new file mode 100644
index 00000000..3c346c24
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_order_settled_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_order_settled"
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql
new file mode 100644
index 00000000..baaae970
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_bought_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_bought"
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql
new file mode 100644
index 00000000..09c94a2f
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_registered_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_registered"
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql
new file mode 100644
index 00000000..2477afdb
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_sold"
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql
new file mode 100644
index 00000000..063e49f4
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_unwrapped"
diff --git a/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql
new file mode 100644
index 00000000..603d60ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_wrapped_base_sepolia.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_base_sepolia"."spot_market_proxy_event_synth_wrapped"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql
new file mode 100644
index 00000000..db899603
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql
@@ -0,0 +1,38 @@
+WITH indexer_blocks AS (
+ SELECT
+ "timestamp" AS ts,
+ CAST(
+ "number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_eth_mainnet"."block"
+),
+parquet_blocks AS (
+ SELECT
+ TO_TIMESTAMP("timestamp") AS ts,
+ CAST(
+ "block_number" AS INTEGER
+ ) AS block_number
+ FROM
+ "analytics"."raw_eth_mainnet"."blocks_parquet"
+),
+
+combined_blocks AS (
+ SELECT
+ *
+ FROM
+ indexer_blocks
+
+ UNION ALL
+ SELECT
+ *
+ FROM
+ parquet_blocks
+)
+SELECT
+ DISTINCT MIN(ts) AS ts,
+ block_number
+FROM
+ combined_blocks
+GROUP BY
+ block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql
new file mode 100644
index 00000000..aaec4e3f
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_account_created"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql
new file mode 100644
index 00000000..6ec30003
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."legacy_market_proxy_event_account_migrated"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql
new file mode 100644
index 00000000..ac0e4bc2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_delegation_updated"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql
new file mode 100644
index 00000000..2b15ac1a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_deposited"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql
new file mode 100644
index 00000000..a07fb9b2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_liquidation"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql
new file mode 100644
index 00000000..b2ef8a78
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_market_registered"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql
new file mode 100644
index 00000000..275f7d77
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql
@@ -0,0 +1,103 @@
+WITH events AS (
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_market_collateral_deposited"
+
+ ) collateral_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ sender,
+ collateral_type,
+ credit_capacity,
+ token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_market_collateral_withdrawn"
+
+ ) collateral_withdrawn
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_market_usd_deposited"
+
+ ) usd_deposited
+ UNION ALL
+ SELECT
+ id,
+ block_timestamp,
+ block_number,
+ transaction_hash,
+ contract,
+ event_name,
+ market_id,
+ net_issuance,
+ deposited_collateral_value,
+ "target" AS sender,
+ 'USD' AS collateral_type,
+ credit_capacity,
+ amount AS token_amount
+ FROM
+ (
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_market_usd_withdrawn"
+
+ ) usd_withdrawn
+)
+SELECT
+ *
+FROM
+ events
+ORDER BY
+ block_timestamp
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql
new file mode 100644
index 00000000..12478efb
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_pool_created"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql
new file mode 100644
index 00000000..43dbb7ab
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_rewards_claimed"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql
new file mode 100644
index 00000000..5b53cb6c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_rewards_distributed"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql
new file mode 100644
index 00000000..fbe396dd
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_usd_burned"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql
new file mode 100644
index 00000000..ebd621ff
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_usd_minted"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql
new file mode 100644
index 00000000..78f166e6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql
@@ -0,0 +1,38 @@
+WITH base AS (
+ SELECT
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ CAST(
+ amount AS numeric
+ ) AS amount,
+ CAST(
+ "value" AS numeric
+ ) AS collateral_value
+ FROM
+ "analytics"."raw_eth_mainnet"."core_get_vault_collateral"
+ WHERE
+ amount IS NOT NULL
+)
+SELECT
+ blocks.ts,
+ base.block_number,
+ base.contract_address,
+ CAST(
+ base.pool_id AS INTEGER
+ ) AS pool_id,
+ CAST(
+ base.collateral_type AS VARCHAR
+ ) AS collateral_type,
+
+ base.amount / 1e18
+ AS amount,
+
+ base.collateral_value / 1e18
+ AS collateral_value
+FROM
+ base
+ JOIN "analytics"."raw_eth_mainnet"."blocks_parquet" AS blocks
+ ON base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql
new file mode 100644
index 00000000..21afa592
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql
@@ -0,0 +1,32 @@
+WITH base AS (
+ SELECT
+ block_number,
+ contract_address,
+ chain_id,
+ pool_id,
+ collateral_type,
+ CAST(
+ value_1 AS numeric
+ ) AS debt
+ FROM
+ "analytics"."raw_eth_mainnet"."core_get_vault_debt"
+ WHERE
+ value_1 IS NOT NULL
+)
+SELECT
+ blocks.ts,
+ base.block_number,
+ base.contract_address,
+ CAST(
+ base.pool_id AS INTEGER
+ ) AS pool_id,
+ CAST(
+ base.collateral_type AS VARCHAR
+ ) AS collateral_type,
+
+ base.debt / 1e18
+ AS debt
+FROM
+ base
+ JOIN "analytics"."raw_eth_mainnet"."blocks_parquet" AS blocks
+ ON base.block_number = blocks.block_number
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql
new file mode 100644
index 00000000..03572e02
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_vault_liquidation"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql b/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql
new file mode 100644
index 00000000..13d594e6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_eth_mainnet"."core_proxy_event_withdrawn"
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql
new file mode 100644
index 00000000..d5ab64fa
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'AccountCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql
new file mode 100644
index 00000000..90418fb0
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'DelegationUpdated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql
new file mode 100644
index 00000000..bf566bad
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Deposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql
new file mode 100644
index 00000000..82d06452
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Liquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql
new file mode 100644
index 00000000..0bcce330
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketRegistered'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql
new file mode 100644
index 00000000..e5939ebd
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql
new file mode 100644
index 00000000..558cabf6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'PoolCreated'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql
new file mode 100644
index 00000000..32855907
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsClaimed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql
new file mode 100644
index 00000000..5a4ea006
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'RewardsDistributed'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql
new file mode 100644
index 00000000..658969ab
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdBurned'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql
new file mode 100644
index 00000000..c3a13ac4
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'UsdMinted'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql
new file mode 100644
index 00000000..182d3a3c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VaultLiquidation'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql
new file mode 100644
index 00000000..ec00f1d6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'Withdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql
new file mode 100644
index 00000000..2200cfe5
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not deposited_collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql
new file mode 100644
index 00000000..c8abfaea
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql
new file mode 100644
index 00000000..be3ae6c4
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql
new file mode 100644
index 00000000..2f722697
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql
new file mode 100644
index 00000000..39841a09
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql
new file mode 100644
index 00000000..87d975ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql
new file mode 100644
index 00000000..64664802
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql
new file mode 100644
index 00000000..574d0896
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql
new file mode 100644
index 00000000..2dc6d7f7
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql
new file mode 100644
index 00000000..89c35b64
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql
new file mode 100644
index 00000000..f8ed321d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_value >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql
new file mode 100644
index 00000000..3e418940
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql
new file mode 100644
index 00000000..ed59bfe2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not duration >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql
new file mode 100644
index 00000000..a7e0dce6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql
new file mode 100644
index 00000000..e36580ce
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not market_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql
new file mode 100644
index 00000000..dd6eaed5
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql
new file mode 100644
index 00000000..7cd545c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not debt_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql
new file mode 100644
index 00000000..0b37b4db
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not liquidate_as_account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql
new file mode 100644
index 00000000..f236a5eb
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql
new file mode 100644
index 00000000..22e0fa08
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql
new file mode 100644
index 00000000..27837c37
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql
new file mode 100644
index 00000000..c841d51a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql
new file mode 100644
index 00000000..c05e3087
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql
new file mode 100644
index 00000000..e0699ded
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql
new file mode 100644
index 00000000..11fb63ac
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql
new file mode 100644
index 00000000..02cd1471
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql
new file mode 100644
index 00000000..055a1422
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql
@@ -0,0 +1,22 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage >= 1000000000000000000
+ -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not leverage <= 1000000000000000000
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql
new file mode 100644
index 00000000..48bd02ab
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not token_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql
new file mode 100644
index 00000000..7e4e03d0
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql
new file mode 100644
index 00000000..ea78c2c2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql
new file mode 100644
index 00000000..844c8f21
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not collateral_amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql
new file mode 100644
index 00000000..d8e314c6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql
new file mode 100644
index 00000000..e2eb190b
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql
new file mode 100644
index 00000000..09cb40b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not pool_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql
new file mode 100644
index 00000000..a05157fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql
new file mode 100644
index 00000000..7efa7d36
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not amount >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql
new file mode 100644
index 00000000..c2d8c374
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql
@@ -0,0 +1,20 @@
+
+
+with meet_condition as(
+ select *
+ from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+),
+
+validation_errors as (
+ select *
+ from meet_condition
+ where
+ -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
+ 1 = 2
+ -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
+ or not account_id >= 0
+)
+
+select *
+from validation_errors
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..7c7409f1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..cf1cb2a2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..3cb87463
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql
new file mode 100644
index 00000000..9515c4f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..5d71abe9
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql
new file mode 100644
index 00000000..b779f9dc
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql
new file mode 100644
index 00000000..8aa58347
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..a2b0e969
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..458420e7
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..62da63f8
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..75809174
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql
new file mode 100644
index 00000000..a930efa1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_amount
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where collateral_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql
new file mode 100644
index 00000000..5c4724d7
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql
new file mode 100644
index 00000000..09822025
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt_amount
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where debt_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..de339ead
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql
new file mode 100644
index 00000000..fda16091
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql
new file mode 100644
index 00000000..bacfa895
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select staker
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where staker is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..478db5b0
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..ad4712dd
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql
new file mode 100644
index 00000000..72a08397
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..89351f9b
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..33855b1d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..4c086c0f
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql
new file mode 100644
index 00000000..eed9a68c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..2dd91155
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql
new file mode 100644
index 00000000..e5fb3e43
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql
new file mode 100644
index 00000000..f5acfb3e
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select leverage
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where leverage is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..6640e83f
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql
new file mode 100644
index 00000000..5d4654b3
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..548a3e3c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..cfcced62
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..8bdc0104
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..cce59261
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..c270fa5a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql
new file mode 100644
index 00000000..db204ee5
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..a930bc61
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql
new file mode 100644
index 00000000..90110082
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql
new file mode 100644
index 00000000..624c8aa1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql
new file mode 100644
index 00000000..29bced20
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..24300b4b
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..61e483da
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..1005e359
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..91625676
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..d2e3e828
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql
new file mode 100644
index 00000000..adbac835
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..0d9d2817
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql
new file mode 100644
index 00000000..a9468fca
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql
new file mode 100644
index 00000000..006ce1bd
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..df4f5606
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql
new file mode 100644
index 00000000..33b779e1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..2235c13c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..76433f5b
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..1b681a8c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql
new file mode 100644
index 00000000..8172901a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..8a2278a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql
new file mode 100644
index 00000000..2e8cebd6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql
new file mode 100644
index 00000000..a04d0589
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where market is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql
new file mode 100644
index 00000000..0e9bd70a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql
new file mode 100644
index 00000000..757b01fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..b8523bc8
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql
new file mode 100644
index 00000000..0dd5d6f6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select deposited_collateral_value
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where deposited_collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..169cf8d2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..dd0a76fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..4aa069fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql
new file mode 100644
index 00000000..13b49e12
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql
new file mode 100644
index 00000000..9a9e8fac
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select credit_capacity
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where credit_capacity is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..8fd8cf40
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql
new file mode 100644
index 00000000..092fe940
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql
new file mode 100644
index 00000000..7325d5a4
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select market_id
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where market_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql
new file mode 100644
index 00000000..40cccc62
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select net_issuance
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where net_issuance is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql
new file mode 100644
index 00000000..71c572d3
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql
new file mode 100644
index 00000000..ba475566
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..07fcbc82
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..1010c666
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..57e96c3d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql
new file mode 100644
index 00000000..81f06791
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..67e5f797
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql
new file mode 100644
index 00000000..2da71770
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql
new file mode 100644
index 00000000..dfce3ca4
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select owner
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where owner is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..d678aa9e
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql
new file mode 100644
index 00000000..dc2b3670
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..dc405ae4
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..525815a3
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql
new file mode 100644
index 00000000..f34943c3
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..8e58d67d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..d38dcd8b
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..be580d1c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql
new file mode 100644
index 00000000..66d337fa
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql
new file mode 100644
index 00000000..9963ecba
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..3f70ab02
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql
new file mode 100644
index 00000000..d7e05849
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..d7306fc5
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..f0129975
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql
new file mode 100644
index 00000000..eb27fd45
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..27398703
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..76d084e1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..f3a80c64
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql
new file mode 100644
index 00000000..d68a2fe4
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql
new file mode 100644
index 00000000..fd9a61db
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where distributor is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql
new file mode 100644
index 00000000..3a9df87a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select duration
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where duration is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..a79e7fb2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql
new file mode 100644
index 00000000..98c176fb
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..28fd215d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..b0b92ee0
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..e6c69b1a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql
new file mode 100644
index 00000000..a2fefbb2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..f6ef0190
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..3a4f30c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..c0dbcf8a
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql
new file mode 100644
index 00000000..220adeec
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..a61fe789
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql
new file mode 100644
index 00000000..f1e43522
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..655b2c66
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql
new file mode 100644
index 00000000..1b9ca624
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..621ed640
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..3b4c19c1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql
new file mode 100644
index 00000000..135aba4b
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..5fb066fe
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..8cb5c268
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..4b2fd407
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql
new file mode 100644
index 00000000..9d65e722
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..dae5ae37
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql
new file mode 100644
index 00000000..7f3f0749
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..c9854f60
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql
new file mode 100644
index 00000000..0f13b08d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..463c404f
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql
new file mode 100644
index 00000000..d28328b1
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select amount
+from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+where amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..8d470f2b
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..3d5c31ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql
new file mode 100644
index 00000000..a9616b50
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_value
+from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+where collateral_value is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql
new file mode 100644
index 00000000..985d1f01
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..b5db8ceb
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql
new file mode 100644
index 00000000..4a5e9590
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_eth_mainnet"."core_vault_collateral_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..d9495fcc
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..96b2feff
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql
new file mode 100644
index 00000000..e5cb1247
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract_address
+from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+where contract_address is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql
new file mode 100644
index 00000000..224d5d22
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select debt
+from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+where debt is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..2b929991
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql
new file mode 100644
index 00000000..83a0ee4e
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select ts
+from "analytics"."prod_raw_eth_mainnet"."core_vault_debt_eth_mainnet"
+where ts is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql
new file mode 100644
index 00000000..03f6f57c
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidate_as_account_id
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where liquidate_as_account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..4a0dd323
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..405bf2f3
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..32c98004
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql
new file mode 100644
index 00000000..2cc7dd37
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..0c8fc63d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql
new file mode 100644
index 00000000..484e9263
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql
new file mode 100644
index 00000000..95392adf
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select liquidation_data
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where liquidation_data is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql
new file mode 100644
index 00000000..bc9d82a0
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select pool_id
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where pool_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql
new file mode 100644
index 00000000..4b334e43
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..728aed6f
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql
new file mode 100644
index 00000000..543f7cea
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select account_id
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where account_id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..49316613
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql
new file mode 100644
index 00000000..32617330
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql
new file mode 100644
index 00000000..a5bc9eef
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select collateral_type
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where collateral_type is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql
new file mode 100644
index 00000000..9e5390a6
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql
new file mode 100644
index 00000000..9305ec05
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql
new file mode 100644
index 00000000..0743bf27
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql
new file mode 100644
index 00000000..9b08d90d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select sender
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where sender is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql
new file mode 100644
index 00000000..231db26d
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_amount
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where token_amount is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql
new file mode 100644
index 00000000..9a5d0783
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_mainnet_id.sql
new file mode 100644
index 00000000..68a6d6f2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_account_created_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_mainnet_id.sql
new file mode 100644
index 00000000..268a3007
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_account_migrated_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_mainnet_id.sql
new file mode 100644
index 00000000..d672fe10
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_delegation_updated_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_mainnet_id.sql
new file mode 100644
index 00000000..87326b30
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_deposited_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_mainnet_id.sql
new file mode 100644
index 00000000..8c1f84b2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_liquidation_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_id.sql
new file mode 100644
index 00000000..d11818e8
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql
new file mode 100644
index 00000000..4fc91781
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ market_id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_market_registered_eth_mainnet"
+where market_id is not null
+group by market_id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_mainnet_id.sql
new file mode 100644
index 00000000..62bbaade
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_market_updated_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_mainnet_id.sql
new file mode 100644
index 00000000..767bd345
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_pool_created_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_mainnet_id.sql
new file mode 100644
index 00000000..0f9c2717
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_claimed_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_mainnet_id.sql
new file mode 100644
index 00000000..6d958cc5
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_rewards_distributed_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_mainnet_id.sql
new file mode 100644
index 00000000..b5eef7cd
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_usd_burned_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_mainnet_id.sql
new file mode 100644
index 00000000..343539b7
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_usd_minted_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_mainnet_id.sql
new file mode 100644
index 00000000..f5e8c869
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_vault_liquidation_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_mainnet_id.sql b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_mainnet_id.sql
new file mode 100644
index 00000000..7ced34d8
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_mainnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."core_withdrawn_eth_mainnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql
new file mode 100644
index 00000000..1103bbd8
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+with recency as (
+
+ select
+
+
+
+ max(ts) as most_recent
+
+ from "analytics"."prod_raw_eth_mainnet"."blocks_eth_mainnet"
+
+
+
+)
+
+select
+
+
+ most_recent,
+ cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp) as threshold
+
+from recency
+where most_recent < cast(
+
+ now() + ((interval '1 hour') * (-1))
+
+ as timestamp)
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..a2e5a7b2
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_eth_mainnet"."blocks_eth_mainnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_mainnet_block_number.sql b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_mainnet_block_number.sql
new file mode 100644
index 00000000..bbf62522
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_mainnet_block_number.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ block_number as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_eth_mainnet"."blocks_eth_mainnet"
+where block_number is not null
+group by block_number
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql
new file mode 100644
index 00000000..992cf3f9
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor_address
+from "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors"
+where distributor_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql
new file mode 100644
index 00000000..9831dbed
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_reward_distributors_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."arbitrum_mainnet_reward_distributors"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql
new file mode 100644
index 00000000..70baaa32
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_seeds"."arbitrum_mainnet_tokens"
+where token_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql
new file mode 100644
index 00000000..16f53cac
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_mainnet_tokens_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."arbitrum_mainnet_tokens"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql
new file mode 100644
index 00000000..c081dc44
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor_address
+from "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors"
+where distributor_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql
new file mode 100644
index 00000000..5541020e
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_reward_distributors_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."arbitrum_sepolia_reward_distributors"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql
new file mode 100644
index 00000000..1a584e66
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_seeds"."arbitrum_sepolia_tokens"
+where token_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql
new file mode 100644
index 00000000..eaee7180
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_arbitrum_sepolia_tokens_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."arbitrum_sepolia_tokens"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql
new file mode 100644
index 00000000..5518e365
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_distributor_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor_address
+from "analytics"."prod_seeds"."base_mainnet_reward_distributors"
+where distributor_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql
new file mode 100644
index 00000000..3d5e533f
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_reward_distributors_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."base_mainnet_reward_distributors"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql
new file mode 100644
index 00000000..f430a1e1
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_seeds"."base_mainnet_tokens"
+where token_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql
new file mode 100644
index 00000000..f3ca43b5
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_mainnet_tokens_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."base_mainnet_tokens"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql
new file mode 100644
index 00000000..199c7b9e
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_distributor_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select distributor_address
+from "analytics"."prod_seeds"."base_sepolia_reward_distributors"
+where distributor_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql
new file mode 100644
index 00000000..c0bcd57f
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_reward_distributors_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."base_sepolia_reward_distributors"
+where token_symbol is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql
new file mode 100644
index 00000000..1a8b74f2
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_address.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_address
+from "analytics"."prod_seeds"."base_sepolia_tokens"
+where token_address is null
+
+
diff --git a/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql
new file mode 100644
index 00000000..75814f13
--- /dev/null
+++ b/compiled/synthetix/seeds/schema.yml/not_null_base_sepolia_tokens_token_symbol.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select token_symbol
+from "analytics"."prod_seeds"."base_sepolia_tokens"
+where token_symbol is null
+
+
diff --git a/graph.gpickle b/graph.gpickle
new file mode 100644
index 00000000..4d7117d5
Binary files /dev/null and b/graph.gpickle differ
diff --git a/graph_summary.json b/graph_summary.json
new file mode 100644
index 00000000..3283281e
--- /dev/null
+++ b/graph_summary.json
@@ -0,0 +1 @@
+{"_invocation_id": "7acd4e94-8d2f-4261-b197-0931428af2be", "linked": {"0": {"name": "source.synthetix.raw_eth_mainnet.block", "type": "source", "succ": [1079]}, "1": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1080]}, "2": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1091]}, "3": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1084]}, "4": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1089]}, "5": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1092]}, "6": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1086]}, "7": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1085]}, "8": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1090]}, "9": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1088]}, "10": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1094]}, "11": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1095]}, "12": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1083]}, "13": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1087]}, "14": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1087]}, "15": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1087]}, "16": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1087]}, "17": {"name": "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated", "type": "source", "succ": [1093]}, "18": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_collateral", "type": "source", "succ": [1082]}, "19": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_debt", "type": "source", "succ": [1081]}, "20": {"name": "source.synthetix.raw_eth_mainnet.blocks_parquet", "type": "source", "succ": [1079, 1081, 1082]}, "21": {"name": "source.synthetix.raw_base_sepolia.block", "type": "source", "succ": [1180]}, "22": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created", "type": "source", "succ": [1186]}, "23": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1188]}, "24": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1184]}, "25": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created", "type": "source", "succ": [1187]}, "26": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "type": "source", "succ": [1183]}, "27": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1183]}, "28": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "type": "source", "succ": [1181]}, "29": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1181]}, "30": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled", "type": "source", "succ": [1182]}, "31": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1190]}, "32": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1191]}, "33": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1185]}, "34": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1189]}, "35": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1208]}, "36": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1215]}, "37": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1213]}, "38": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1210]}, "39": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1214]}, "40": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1211]}, "41": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1209]}, "42": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1212]}, "43": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1196]}, "44": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1203]}, "45": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1195]}, "46": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1198]}, "47": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1201]}, "48": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1206]}, "49": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1207]}, "50": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed", "type": "source", "succ": [1200]}, "51": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1193]}, "52": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1205]}, "53": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1202]}, "54": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1199]}, "55": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1194]}, "56": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1194]}, "57": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1194]}, "58": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1194]}, "59": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1194]}, "60": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1194]}, "61": {"name": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed", "type": "source", "succ": [1192]}, "62": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_collateral", "type": "source", "succ": [1197]}, "63": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_debt", "type": "source", "succ": [1204]}, "64": {"name": "source.synthetix.raw_base_sepolia.blocks_parquet", "type": "source", "succ": [1180, 1197, 1204]}, "65": {"name": "source.synthetix.raw_arbitrum_sepolia.block", "type": "source", "succ": [1120]}, "66": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1140]}, "67": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1136]}, "68": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1142]}, "69": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1143]}, "70": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1139]}, "71": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1138]}, "72": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1137]}, "73": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1141]}, "74": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1128]}, "75": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1124]}, "76": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1125]}, "77": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1132]}, "78": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1126]}, "79": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1129]}, "80": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1127]}, "81": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_claimed", "type": "source"}, "82": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1122]}, "83": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1135]}, "84": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1134]}, "85": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1121]}, "86": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1130]}, "87": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1130]}, "88": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1130]}, "89": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1130]}, "90": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "type": "source", "succ": [1123]}, "91": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "type": "source", "succ": [1131]}, "92": {"name": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "type": "source", "succ": [1120, 1123, 1131]}, "93": {"name": "source.synthetix.raw_arbitrum_mainnet.block", "type": "source", "succ": [1096]}, "94": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1114]}, "95": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1117]}, "96": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1116]}, "97": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1115]}, "98": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1113]}, "99": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1112]}, "100": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1119]}, "101": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1118]}, "102": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1100]}, "103": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1101]}, "104": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1105]}, "105": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1108]}, "106": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1104]}, "107": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1098]}, "108": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1103]}, "109": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1097, 1133]}, "110": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1102]}, "111": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1107]}, "112": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1110]}, "113": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1111]}, "114": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1109]}, "115": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1109]}, "116": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1109]}, "117": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1109]}, "118": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "type": "source", "succ": [1099]}, "119": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "type": "source", "succ": [1106]}, "120": {"name": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "type": "source", "succ": [1096, 1099, 1106]}, "121": {"name": "source.synthetix.raw_base_mainnet.block", "type": "source", "succ": [1144]}, "122": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created", "type": "source", "succ": [1146]}, "123": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1155]}, "124": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1149]}, "125": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created", "type": "source", "succ": [1145]}, "126": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "type": "source", "succ": [1154]}, "127": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1154]}, "128": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "type": "source", "succ": [1148]}, "129": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1148]}, "130": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled", "type": "source", "succ": [1153]}, "131": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1152]}, "132": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1151]}, "133": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1147]}, "134": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1150]}, "135": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1175]}, "136": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1177]}, "137": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1178]}, "138": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1174]}, "139": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1176]}, "140": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1179]}, "141": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1172]}, "142": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1173]}, "143": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1165]}, "144": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1171]}, "145": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1157]}, "146": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1164]}, "147": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1162]}, "148": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1170]}, "149": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1159]}, "150": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1158]}, "151": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1167]}, "152": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1161]}, "153": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1168]}, "154": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1163]}, "155": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1166]}, "156": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1166]}, "157": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1166]}, "158": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1166]}, "159": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1166]}, "160": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1166]}, "161": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "type": "source", "succ": [1156]}, "162": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "type": "source", "succ": [1156]}, "163": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_collateral", "type": "source", "succ": [1160]}, "164": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_debt", "type": "source", "succ": [1169]}, "165": {"name": "source.synthetix.raw_base_mainnet.blocks_parquet", "type": "source", "succ": [1144, 1160, 1169]}, "166": {"name": "source.synthetix.raw_optimism_mainnet.block", "type": "source"}, "167": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_committed", "type": "source"}, "168": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_settled", "type": "source"}, "169": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_order_cancelled", "type": "source"}, "170": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_registered", "type": "source"}, "171": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_bought", "type": "source"}, "172": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_sold", "type": "source"}, "173": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source"}, "174": {"name": "source.synthetix.raw_optimism_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source"}, "175": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_account_created", "type": "source"}, "176": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_delegation_updated", "type": "source"}, "177": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_deposited", "type": "source"}, "178": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_withdrawn", "type": "source"}, "179": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_liquidation", "type": "source"}, "180": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_registered", "type": "source"}, "181": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_pool_created", "type": "source"}, "182": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_claimed", "type": "source"}, "183": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_rewards_distributed", "type": "source"}, "184": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_burned", "type": "source"}, "185": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_usd_minted", "type": "source"}, "186": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_vault_liquidation", "type": "source"}, "187": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_deposited", "type": "source"}, "188": {"name": "source.synthetix.raw_optimism_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source"}, "189": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_removed", "type": "source"}, "190": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_delayed_order_submitted", "type": "source"}, "191": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_funding_recomputed", "type": "source"}, "192": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_margin_transferred", "type": "source"}, "193": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_perps_tracking", "type": "source"}, "194": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_flagged", "type": "source"}, "195": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated0", "type": "source"}, "196": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_liquidated1", "type": "source"}, "197": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified0", "type": "source"}, "198": {"name": "source.synthetix.raw_optimism_mainnet.perps_v21_inch_event_position_modified1", "type": "source"}, "199": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_removed", "type": "source"}, "200": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_delayed_order_submitted", "type": "source"}, "201": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_funding_recomputed", "type": "source"}, "202": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_margin_transferred", "type": "source"}, "203": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_perps_tracking", "type": "source"}, "204": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_flagged", "type": "source"}, "205": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated0", "type": "source"}, "206": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_liquidated1", "type": "source"}, "207": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified0", "type": "source"}, "208": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aave_event_position_modified1", "type": "source"}, "209": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_removed", "type": "source"}, "210": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_delayed_order_submitted", "type": "source"}, "211": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_funding_recomputed", "type": "source"}, "212": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_margin_transferred", "type": "source"}, "213": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_perps_tracking", "type": "source"}, "214": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_flagged", "type": "source"}, "215": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated0", "type": "source"}, "216": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_liquidated1", "type": "source"}, "217": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified0", "type": "source"}, "218": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ada_event_position_modified1", "type": "source"}, "219": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_removed", "type": "source"}, "220": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_delayed_order_submitted", "type": "source"}, "221": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_funding_recomputed", "type": "source"}, "222": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_margin_transferred", "type": "source"}, "223": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_perps_tracking", "type": "source"}, "224": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_flagged", "type": "source"}, "225": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated0", "type": "source"}, "226": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_liquidated1", "type": "source"}, "227": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified0", "type": "source"}, "228": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_algo_event_position_modified1", "type": "source"}, "229": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_removed", "type": "source"}, "230": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_delayed_order_submitted", "type": "source"}, "231": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_funding_recomputed", "type": "source"}, "232": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_margin_transferred", "type": "source"}, "233": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_perps_tracking", "type": "source"}, "234": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_flagged", "type": "source"}, "235": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated0", "type": "source"}, "236": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_liquidated1", "type": "source"}, "237": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified0", "type": "source"}, "238": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ankr_event_position_modified1", "type": "source"}, "239": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_removed", "type": "source"}, "240": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_delayed_order_submitted", "type": "source"}, "241": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_funding_recomputed", "type": "source"}, "242": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_margin_transferred", "type": "source"}, "243": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_perps_tracking", "type": "source"}, "244": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_flagged", "type": "source"}, "245": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated0", "type": "source"}, "246": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_liquidated1", "type": "source"}, "247": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified0", "type": "source"}, "248": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ape_event_position_modified1", "type": "source"}, "249": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_removed", "type": "source"}, "250": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_delayed_order_submitted", "type": "source"}, "251": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_funding_recomputed", "type": "source"}, "252": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_margin_transferred", "type": "source"}, "253": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_perps_tracking", "type": "source"}, "254": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_flagged", "type": "source"}, "255": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated0", "type": "source"}, "256": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_liquidated1", "type": "source"}, "257": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified0", "type": "source"}, "258": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_apt_event_position_modified1", "type": "source"}, "259": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_removed", "type": "source"}, "260": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_delayed_order_submitted", "type": "source"}, "261": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_funding_recomputed", "type": "source"}, "262": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_margin_transferred", "type": "source"}, "263": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_perps_tracking", "type": "source"}, "264": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_flagged", "type": "source"}, "265": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated0", "type": "source"}, "266": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_liquidated1", "type": "source"}, "267": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified0", "type": "source"}, "268": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_arb_event_position_modified1", "type": "source"}, "269": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_removed", "type": "source"}, "270": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_delayed_order_submitted", "type": "source"}, "271": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_funding_recomputed", "type": "source"}, "272": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_margin_transferred", "type": "source"}, "273": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_perps_tracking", "type": "source"}, "274": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_flagged", "type": "source"}, "275": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated0", "type": "source"}, "276": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_liquidated1", "type": "source"}, "277": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified0", "type": "source"}, "278": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_atom_event_position_modified1", "type": "source"}, "279": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_removed", "type": "source"}, "280": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_delayed_order_submitted", "type": "source"}, "281": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_funding_recomputed", "type": "source"}, "282": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_margin_transferred", "type": "source"}, "283": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_perps_tracking", "type": "source"}, "284": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_flagged", "type": "source"}, "285": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated0", "type": "source"}, "286": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_liquidated1", "type": "source"}, "287": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified0", "type": "source"}, "288": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_aud_event_position_modified1", "type": "source"}, "289": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_removed", "type": "source"}, "290": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_delayed_order_submitted", "type": "source"}, "291": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_funding_recomputed", "type": "source"}, "292": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_margin_transferred", "type": "source"}, "293": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_perps_tracking", "type": "source"}, "294": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_flagged", "type": "source"}, "295": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated0", "type": "source"}, "296": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_liquidated1", "type": "source"}, "297": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified0", "type": "source"}, "298": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_avax_event_position_modified1", "type": "source"}, "299": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_removed", "type": "source"}, "300": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_delayed_order_submitted", "type": "source"}, "301": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_funding_recomputed", "type": "source"}, "302": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_margin_transferred", "type": "source"}, "303": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_perps_tracking", "type": "source"}, "304": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_flagged", "type": "source"}, "305": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated0", "type": "source"}, "306": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_liquidated1", "type": "source"}, "307": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified0", "type": "source"}, "308": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_axs_event_position_modified1", "type": "source"}, "309": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_removed", "type": "source"}, "310": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_delayed_order_submitted", "type": "source"}, "311": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_funding_recomputed", "type": "source"}, "312": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_margin_transferred", "type": "source"}, "313": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_perps_tracking", "type": "source"}, "314": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_flagged", "type": "source"}, "315": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated0", "type": "source"}, "316": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_liquidated1", "type": "source"}, "317": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified0", "type": "source"}, "318": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bal_event_position_modified1", "type": "source"}, "319": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_removed", "type": "source"}, "320": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_delayed_order_submitted", "type": "source"}, "321": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_funding_recomputed", "type": "source"}, "322": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_margin_transferred", "type": "source"}, "323": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_perps_tracking", "type": "source"}, "324": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_flagged", "type": "source"}, "325": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated0", "type": "source"}, "326": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_liquidated1", "type": "source"}, "327": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified0", "type": "source"}, "328": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bch_event_position_modified1", "type": "source"}, "329": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_removed", "type": "source"}, "330": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_delayed_order_submitted", "type": "source"}, "331": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_funding_recomputed", "type": "source"}, "332": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_margin_transferred", "type": "source"}, "333": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_perps_tracking", "type": "source"}, "334": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_flagged", "type": "source"}, "335": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated0", "type": "source"}, "336": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_liquidated1", "type": "source"}, "337": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified0", "type": "source"}, "338": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_blur_event_position_modified1", "type": "source"}, "339": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_removed", "type": "source"}, "340": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_delayed_order_submitted", "type": "source"}, "341": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_funding_recomputed", "type": "source"}, "342": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_margin_transferred", "type": "source"}, "343": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_perps_tracking", "type": "source"}, "344": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_flagged", "type": "source"}, "345": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated0", "type": "source"}, "346": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_liquidated1", "type": "source"}, "347": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified0", "type": "source"}, "348": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bnb_event_position_modified1", "type": "source"}, "349": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_removed", "type": "source"}, "350": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_delayed_order_submitted", "type": "source"}, "351": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_funding_recomputed", "type": "source"}, "352": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_margin_transferred", "type": "source"}, "353": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_perps_tracking", "type": "source"}, "354": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_flagged", "type": "source"}, "355": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated0", "type": "source"}, "356": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_liquidated1", "type": "source"}, "357": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified0", "type": "source"}, "358": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_bonk_event_position_modified1", "type": "source"}, "359": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_removed", "type": "source"}, "360": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_delayed_order_submitted", "type": "source"}, "361": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_funding_recomputed", "type": "source"}, "362": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_margin_transferred", "type": "source"}, "363": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_perps_tracking", "type": "source"}, "364": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_flagged", "type": "source"}, "365": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated0", "type": "source"}, "366": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_liquidated1", "type": "source"}, "367": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified0", "type": "source"}, "368": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_btc_event_position_modified1", "type": "source"}, "369": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_removed", "type": "source"}, "370": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_delayed_order_submitted", "type": "source"}, "371": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_funding_recomputed", "type": "source"}, "372": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_margin_transferred", "type": "source"}, "373": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_perps_tracking", "type": "source"}, "374": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_flagged", "type": "source"}, "375": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated0", "type": "source"}, "376": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_liquidated1", "type": "source"}, "377": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified0", "type": "source"}, "378": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_celo_event_position_modified1", "type": "source"}, "379": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_removed", "type": "source"}, "380": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_delayed_order_submitted", "type": "source"}, "381": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_funding_recomputed", "type": "source"}, "382": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_margin_transferred", "type": "source"}, "383": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_perps_tracking", "type": "source"}, "384": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_flagged", "type": "source"}, "385": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated0", "type": "source"}, "386": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_liquidated1", "type": "source"}, "387": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified0", "type": "source"}, "388": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_comp_event_position_modified1", "type": "source"}, "389": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_removed", "type": "source"}, "390": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_delayed_order_submitted", "type": "source"}, "391": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_funding_recomputed", "type": "source"}, "392": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_margin_transferred", "type": "source"}, "393": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_perps_tracking", "type": "source"}, "394": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_flagged", "type": "source"}, "395": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated0", "type": "source"}, "396": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_liquidated1", "type": "source"}, "397": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified0", "type": "source"}, "398": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_crv_event_position_modified1", "type": "source"}, "399": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_removed", "type": "source"}, "400": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_delayed_order_submitted", "type": "source"}, "401": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_funding_recomputed", "type": "source"}, "402": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_margin_transferred", "type": "source"}, "403": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_perps_tracking", "type": "source"}, "404": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_flagged", "type": "source"}, "405": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated0", "type": "source"}, "406": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_liquidated1", "type": "source"}, "407": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified0", "type": "source"}, "408": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_doge_event_position_modified1", "type": "source"}, "409": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_removed", "type": "source"}, "410": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_delayed_order_submitted", "type": "source"}, "411": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_funding_recomputed", "type": "source"}, "412": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_margin_transferred", "type": "source"}, "413": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_perps_tracking", "type": "source"}, "414": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_flagged", "type": "source"}, "415": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated0", "type": "source"}, "416": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_liquidated1", "type": "source"}, "417": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified0", "type": "source"}, "418": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dot_event_position_modified1", "type": "source"}, "419": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_removed", "type": "source"}, "420": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_delayed_order_submitted", "type": "source"}, "421": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_funding_recomputed", "type": "source"}, "422": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_margin_transferred", "type": "source"}, "423": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_perps_tracking", "type": "source"}, "424": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_flagged", "type": "source"}, "425": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated0", "type": "source"}, "426": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_liquidated1", "type": "source"}, "427": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified0", "type": "source"}, "428": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_dydx_event_position_modified1", "type": "source"}, "429": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_removed", "type": "source"}, "430": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_delayed_order_submitted", "type": "source"}, "431": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_funding_recomputed", "type": "source"}, "432": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_margin_transferred", "type": "source"}, "433": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_perps_tracking", "type": "source"}, "434": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_flagged", "type": "source"}, "435": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated0", "type": "source"}, "436": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_liquidated1", "type": "source"}, "437": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified0", "type": "source"}, "438": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_enj_event_position_modified1", "type": "source"}, "439": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_removed", "type": "source"}, "440": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_delayed_order_submitted", "type": "source"}, "441": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_funding_recomputed", "type": "source"}, "442": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_margin_transferred", "type": "source"}, "443": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_perps_tracking", "type": "source"}, "444": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_flagged", "type": "source"}, "445": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated0", "type": "source"}, "446": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_liquidated1", "type": "source"}, "447": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified0", "type": "source"}, "448": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eos_event_position_modified1", "type": "source"}, "449": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_removed", "type": "source"}, "450": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_delayed_order_submitted", "type": "source"}, "451": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_funding_recomputed", "type": "source"}, "452": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_margin_transferred", "type": "source"}, "453": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_perps_tracking", "type": "source"}, "454": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_flagged", "type": "source"}, "455": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated0", "type": "source"}, "456": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_liquidated1", "type": "source"}, "457": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified0", "type": "source"}, "458": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_etc_event_position_modified1", "type": "source"}, "459": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_removed", "type": "source"}, "460": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_delayed_order_submitted", "type": "source"}, "461": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_funding_recomputed", "type": "source"}, "462": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_margin_transferred", "type": "source"}, "463": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_perps_tracking", "type": "source"}, "464": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_flagged", "type": "source"}, "465": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated0", "type": "source"}, "466": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_liquidated1", "type": "source"}, "467": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified0", "type": "source"}, "468": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eth_event_position_modified1", "type": "source"}, "469": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_removed", "type": "source"}, "470": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_delayed_order_submitted", "type": "source"}, "471": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_funding_recomputed", "type": "source"}, "472": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_margin_transferred", "type": "source"}, "473": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_perps_tracking", "type": "source"}, "474": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_flagged", "type": "source"}, "475": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated0", "type": "source"}, "476": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_liquidated1", "type": "source"}, "477": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified0", "type": "source"}, "478": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ethbtc_event_position_modified1", "type": "source"}, "479": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_removed", "type": "source"}, "480": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_delayed_order_submitted", "type": "source"}, "481": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_funding_recomputed", "type": "source"}, "482": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_margin_transferred", "type": "source"}, "483": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_perps_tracking", "type": "source"}, "484": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_flagged", "type": "source"}, "485": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated0", "type": "source"}, "486": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_liquidated1", "type": "source"}, "487": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified0", "type": "source"}, "488": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_eur_event_position_modified1", "type": "source"}, "489": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_removed", "type": "source"}, "490": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_delayed_order_submitted", "type": "source"}, "491": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_funding_recomputed", "type": "source"}, "492": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_margin_transferred", "type": "source"}, "493": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_perps_tracking", "type": "source"}, "494": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_flagged", "type": "source"}, "495": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated0", "type": "source"}, "496": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_liquidated1", "type": "source"}, "497": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified0", "type": "source"}, "498": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fet_event_position_modified1", "type": "source"}, "499": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_removed", "type": "source"}, "500": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_delayed_order_submitted", "type": "source"}, "501": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_funding_recomputed", "type": "source"}, "502": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_margin_transferred", "type": "source"}, "503": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_perps_tracking", "type": "source"}, "504": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_flagged", "type": "source"}, "505": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated0", "type": "source"}, "506": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_liquidated1", "type": "source"}, "507": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified0", "type": "source"}, "508": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fil_event_position_modified1", "type": "source"}, "509": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_removed", "type": "source"}, "510": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_delayed_order_submitted", "type": "source"}, "511": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_funding_recomputed", "type": "source"}, "512": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_margin_transferred", "type": "source"}, "513": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_perps_tracking", "type": "source"}, "514": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_flagged", "type": "source"}, "515": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated0", "type": "source"}, "516": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_liquidated1", "type": "source"}, "517": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified0", "type": "source"}, "518": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_floki_event_position_modified1", "type": "source"}, "519": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_removed", "type": "source"}, "520": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_delayed_order_submitted", "type": "source"}, "521": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_funding_recomputed", "type": "source"}, "522": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_margin_transferred", "type": "source"}, "523": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_perps_tracking", "type": "source"}, "524": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_flagged", "type": "source"}, "525": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated0", "type": "source"}, "526": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_liquidated1", "type": "source"}, "527": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified0", "type": "source"}, "528": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_flow_event_position_modified1", "type": "source"}, "529": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_removed", "type": "source"}, "530": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_delayed_order_submitted", "type": "source"}, "531": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_funding_recomputed", "type": "source"}, "532": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_margin_transferred", "type": "source"}, "533": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_perps_tracking", "type": "source"}, "534": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_flagged", "type": "source"}, "535": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated0", "type": "source"}, "536": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_liquidated1", "type": "source"}, "537": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified0", "type": "source"}, "538": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ftm_event_position_modified1", "type": "source"}, "539": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_removed", "type": "source"}, "540": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_delayed_order_submitted", "type": "source"}, "541": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_funding_recomputed", "type": "source"}, "542": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_margin_transferred", "type": "source"}, "543": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_perps_tracking", "type": "source"}, "544": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_flagged", "type": "source"}, "545": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated0", "type": "source"}, "546": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_liquidated1", "type": "source"}, "547": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified0", "type": "source"}, "548": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_fxs_event_position_modified1", "type": "source"}, "549": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_removed", "type": "source"}, "550": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_delayed_order_submitted", "type": "source"}, "551": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_funding_recomputed", "type": "source"}, "552": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_margin_transferred", "type": "source"}, "553": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_perps_tracking", "type": "source"}, "554": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_flagged", "type": "source"}, "555": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated0", "type": "source"}, "556": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_liquidated1", "type": "source"}, "557": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified0", "type": "source"}, "558": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gbp_event_position_modified1", "type": "source"}, "559": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_removed", "type": "source"}, "560": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_delayed_order_submitted", "type": "source"}, "561": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_funding_recomputed", "type": "source"}, "562": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_margin_transferred", "type": "source"}, "563": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_perps_tracking", "type": "source"}, "564": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_flagged", "type": "source"}, "565": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated0", "type": "source"}, "566": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_liquidated1", "type": "source"}, "567": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified0", "type": "source"}, "568": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_gmx_event_position_modified1", "type": "source"}, "569": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_removed", "type": "source"}, "570": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_delayed_order_submitted", "type": "source"}, "571": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_funding_recomputed", "type": "source"}, "572": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_margin_transferred", "type": "source"}, "573": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_perps_tracking", "type": "source"}, "574": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_flagged", "type": "source"}, "575": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated0", "type": "source"}, "576": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_liquidated1", "type": "source"}, "577": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified0", "type": "source"}, "578": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_grt_event_position_modified1", "type": "source"}, "579": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_removed", "type": "source"}, "580": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_delayed_order_submitted", "type": "source"}, "581": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_funding_recomputed", "type": "source"}, "582": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_margin_transferred", "type": "source"}, "583": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_perps_tracking", "type": "source"}, "584": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_flagged", "type": "source"}, "585": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated0", "type": "source"}, "586": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_liquidated1", "type": "source"}, "587": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified0", "type": "source"}, "588": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_icp_event_position_modified1", "type": "source"}, "589": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_removed", "type": "source"}, "590": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_delayed_order_submitted", "type": "source"}, "591": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed", "type": "source"}, "592": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred", "type": "source"}, "593": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking", "type": "source"}, "594": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged", "type": "source"}, "595": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0", "type": "source"}, "596": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1", "type": "source"}, "597": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0", "type": "source"}, "598": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1", "type": "source"}, "599": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed", "type": "source"}, "600": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted", "type": "source"}, "601": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed", "type": "source"}, "602": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred", "type": "source"}, "603": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking", "type": "source"}, "604": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged", "type": "source"}, "605": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0", "type": "source"}, "606": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1", "type": "source"}, "607": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0", "type": "source"}, "608": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1", "type": "source"}, "609": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed", "type": "source"}, "610": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted", "type": "source"}, "611": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed", "type": "source"}, "612": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred", "type": "source"}, "613": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking", "type": "source"}, "614": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged", "type": "source"}, "615": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0", "type": "source"}, "616": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1", "type": "source"}, "617": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0", "type": "source"}, "618": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1", "type": "source"}, "619": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed", "type": "source"}, "620": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted", "type": "source"}, "621": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed", "type": "source"}, "622": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred", "type": "source"}, "623": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking", "type": "source"}, "624": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged", "type": "source"}, "625": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0", "type": "source"}, "626": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1", "type": "source"}, "627": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0", "type": "source"}, "628": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1", "type": "source"}, "629": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed", "type": "source"}, "630": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted", "type": "source"}, "631": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed", "type": "source"}, "632": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred", "type": "source"}, "633": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking", "type": "source"}, "634": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged", "type": "source"}, "635": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0", "type": "source"}, "636": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1", "type": "source"}, "637": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0", "type": "source"}, "638": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1", "type": "source"}, "639": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed", "type": "source"}, "640": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted", "type": "source"}, "641": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed", "type": "source"}, "642": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred", "type": "source"}, "643": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking", "type": "source"}, "644": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged", "type": "source"}, "645": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0", "type": "source"}, "646": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1", "type": "source"}, "647": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0", "type": "source"}, "648": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1", "type": "source"}, "649": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed", "type": "source"}, "650": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted", "type": "source"}, "651": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed", "type": "source"}, "652": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred", "type": "source"}, "653": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking", "type": "source"}, "654": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged", "type": "source"}, "655": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0", "type": "source"}, "656": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1", "type": "source"}, "657": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0", "type": "source"}, "658": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1", "type": "source"}, "659": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed", "type": "source"}, "660": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted", "type": "source"}, "661": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed", "type": "source"}, "662": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred", "type": "source"}, "663": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking", "type": "source"}, "664": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged", "type": "source"}, "665": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0", "type": "source"}, "666": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1", "type": "source"}, "667": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0", "type": "source"}, "668": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1", "type": "source"}, "669": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed", "type": "source"}, "670": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted", "type": "source"}, "671": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed", "type": "source"}, "672": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred", "type": "source"}, "673": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking", "type": "source"}, "674": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged", "type": "source"}, "675": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0", "type": "source"}, "676": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1", "type": "source"}, "677": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0", "type": "source"}, "678": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1", "type": "source"}, "679": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed", "type": "source"}, "680": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted", "type": "source"}, "681": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed", "type": "source"}, "682": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred", "type": "source"}, "683": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking", "type": "source"}, "684": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged", "type": "source"}, "685": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0", "type": "source"}, "686": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1", "type": "source"}, "687": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0", "type": "source"}, "688": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1", "type": "source"}, "689": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed", "type": "source"}, "690": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted", "type": "source"}, "691": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed", "type": "source"}, "692": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred", "type": "source"}, "693": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking", "type": "source"}, "694": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged", "type": "source"}, "695": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0", "type": "source"}, "696": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1", "type": "source"}, "697": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0", "type": "source"}, "698": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1", "type": "source"}, "699": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed", "type": "source"}, "700": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted", "type": "source"}, "701": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed", "type": "source"}, "702": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred", "type": "source"}, "703": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking", "type": "source"}, "704": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged", "type": "source"}, "705": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0", "type": "source"}, "706": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1", "type": "source"}, "707": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0", "type": "source"}, "708": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1", "type": "source"}, "709": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed", "type": "source"}, "710": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted", "type": "source"}, "711": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed", "type": "source"}, "712": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred", "type": "source"}, "713": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking", "type": "source"}, "714": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged", "type": "source"}, "715": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0", "type": "source"}, "716": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1", "type": "source"}, "717": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0", "type": "source"}, "718": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1", "type": "source"}, "719": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed", "type": "source"}, "720": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted", "type": "source"}, "721": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed", "type": "source"}, "722": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred", "type": "source"}, "723": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking", "type": "source"}, "724": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged", "type": "source"}, "725": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0", "type": "source"}, "726": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1", "type": "source"}, "727": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0", "type": "source"}, "728": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1", "type": "source"}, "729": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed", "type": "source"}, "730": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted", "type": "source"}, "731": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed", "type": "source"}, "732": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred", "type": "source"}, "733": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking", "type": "source"}, "734": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged", "type": "source"}, "735": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0", "type": "source"}, "736": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1", "type": "source"}, "737": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0", "type": "source"}, "738": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1", "type": "source"}, "739": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed", "type": "source"}, "740": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted", "type": "source"}, "741": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed", "type": "source"}, "742": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred", "type": "source"}, "743": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking", "type": "source"}, "744": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged", "type": "source"}, "745": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0", "type": "source"}, "746": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1", "type": "source"}, "747": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0", "type": "source"}, "748": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1", "type": "source"}, "749": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed", "type": "source"}, "750": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted", "type": "source"}, "751": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed", "type": "source"}, "752": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred", "type": "source"}, "753": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking", "type": "source"}, "754": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged", "type": "source"}, "755": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0", "type": "source"}, "756": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1", "type": "source"}, "757": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0", "type": "source"}, "758": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1", "type": "source"}, "759": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed", "type": "source"}, "760": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted", "type": "source"}, "761": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed", "type": "source"}, "762": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred", "type": "source"}, "763": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking", "type": "source"}, "764": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_flagged", "type": "source"}, "765": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated0", "type": "source"}, "766": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_liquidated1", "type": "source"}, "767": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified0", "type": "source"}, "768": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_position_modified1", "type": "source"}, "769": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_removed", "type": "source"}, "770": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_delayed_order_submitted", "type": "source"}, "771": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_funding_recomputed", "type": "source"}, "772": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_margin_transferred", "type": "source"}, "773": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_perps_tracking", "type": "source"}, "774": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_flagged", "type": "source"}, "775": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated0", "type": "source"}, "776": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_liquidated1", "type": "source"}, "777": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified0", "type": "source"}, "778": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_rune_event_position_modified1", "type": "source"}, "779": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_removed", "type": "source"}, "780": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_delayed_order_submitted", "type": "source"}, "781": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_funding_recomputed", "type": "source"}, "782": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_margin_transferred", "type": "source"}, "783": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_perps_tracking", "type": "source"}, "784": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_flagged", "type": "source"}, "785": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated0", "type": "source"}, "786": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_liquidated1", "type": "source"}, "787": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified0", "type": "source"}, "788": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sei_event_position_modified1", "type": "source"}, "789": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_removed", "type": "source"}, "790": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_delayed_order_submitted", "type": "source"}, "791": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_funding_recomputed", "type": "source"}, "792": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_margin_transferred", "type": "source"}, "793": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_perps_tracking", "type": "source"}, "794": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_flagged", "type": "source"}, "795": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated0", "type": "source"}, "796": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_liquidated1", "type": "source"}, "797": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified0", "type": "source"}, "798": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_shib_event_position_modified1", "type": "source"}, "799": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_removed", "type": "source"}, "800": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_delayed_order_submitted", "type": "source"}, "801": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_funding_recomputed", "type": "source"}, "802": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_margin_transferred", "type": "source"}, "803": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_perps_tracking", "type": "source"}, "804": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_flagged", "type": "source"}, "805": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated0", "type": "source"}, "806": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_liquidated1", "type": "source"}, "807": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified0", "type": "source"}, "808": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sol_event_position_modified1", "type": "source"}, "809": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_removed", "type": "source"}, "810": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_delayed_order_submitted", "type": "source"}, "811": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_funding_recomputed", "type": "source"}, "812": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_margin_transferred", "type": "source"}, "813": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_perps_tracking", "type": "source"}, "814": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_flagged", "type": "source"}, "815": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated0", "type": "source"}, "816": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_liquidated1", "type": "source"}, "817": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified0", "type": "source"}, "818": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_steth_event_position_modified1", "type": "source"}, "819": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_removed", "type": "source"}, "820": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_delayed_order_submitted", "type": "source"}, "821": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_funding_recomputed", "type": "source"}, "822": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_margin_transferred", "type": "source"}, "823": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_perps_tracking", "type": "source"}, "824": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_flagged", "type": "source"}, "825": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated0", "type": "source"}, "826": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_liquidated1", "type": "source"}, "827": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified0", "type": "source"}, "828": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_stetheth_event_position_modified1", "type": "source"}, "829": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_removed", "type": "source"}, "830": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_delayed_order_submitted", "type": "source"}, "831": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_funding_recomputed", "type": "source"}, "832": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_margin_transferred", "type": "source"}, "833": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_perps_tracking", "type": "source"}, "834": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_flagged", "type": "source"}, "835": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated0", "type": "source"}, "836": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_liquidated1", "type": "source"}, "837": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified0", "type": "source"}, "838": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sui_event_position_modified1", "type": "source"}, "839": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_removed", "type": "source"}, "840": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_delayed_order_submitted", "type": "source"}, "841": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_funding_recomputed", "type": "source"}, "842": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_margin_transferred", "type": "source"}, "843": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_perps_tracking", "type": "source"}, "844": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_flagged", "type": "source"}, "845": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated0", "type": "source"}, "846": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_liquidated1", "type": "source"}, "847": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified0", "type": "source"}, "848": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_sushi_event_position_modified1", "type": "source"}, "849": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_removed", "type": "source"}, "850": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_delayed_order_submitted", "type": "source"}, "851": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_funding_recomputed", "type": "source"}, "852": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_margin_transferred", "type": "source"}, "853": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_perps_tracking", "type": "source"}, "854": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_flagged", "type": "source"}, "855": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated0", "type": "source"}, "856": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_liquidated1", "type": "source"}, "857": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified0", "type": "source"}, "858": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_tia_event_position_modified1", "type": "source"}, "859": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_removed", "type": "source"}, "860": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_delayed_order_submitted", "type": "source"}, "861": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_funding_recomputed", "type": "source"}, "862": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_margin_transferred", "type": "source"}, "863": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_perps_tracking", "type": "source"}, "864": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_flagged", "type": "source"}, "865": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated0", "type": "source"}, "866": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_liquidated1", "type": "source"}, "867": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified0", "type": "source"}, "868": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trb_event_position_modified1", "type": "source"}, "869": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_removed", "type": "source"}, "870": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_delayed_order_submitted", "type": "source"}, "871": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_funding_recomputed", "type": "source"}, "872": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_margin_transferred", "type": "source"}, "873": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_perps_tracking", "type": "source"}, "874": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_flagged", "type": "source"}, "875": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated0", "type": "source"}, "876": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_liquidated1", "type": "source"}, "877": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified0", "type": "source"}, "878": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_trx_event_position_modified1", "type": "source"}, "879": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_removed", "type": "source"}, "880": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_delayed_order_submitted", "type": "source"}, "881": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_funding_recomputed", "type": "source"}, "882": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_margin_transferred", "type": "source"}, "883": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_perps_tracking", "type": "source"}, "884": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_flagged", "type": "source"}, "885": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated0", "type": "source"}, "886": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_liquidated1", "type": "source"}, "887": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified0", "type": "source"}, "888": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uma_event_position_modified1", "type": "source"}, "889": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_removed", "type": "source"}, "890": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_delayed_order_submitted", "type": "source"}, "891": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_funding_recomputed", "type": "source"}, "892": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_margin_transferred", "type": "source"}, "893": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_perps_tracking", "type": "source"}, "894": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_flagged", "type": "source"}, "895": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated0", "type": "source"}, "896": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_liquidated1", "type": "source"}, "897": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified0", "type": "source"}, "898": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_uni_event_position_modified1", "type": "source"}, "899": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_removed", "type": "source"}, "900": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_delayed_order_submitted", "type": "source"}, "901": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_funding_recomputed", "type": "source"}, "902": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_margin_transferred", "type": "source"}, "903": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_perps_tracking", "type": "source"}, "904": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_flagged", "type": "source"}, "905": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated0", "type": "source"}, "906": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_liquidated1", "type": "source"}, "907": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified0", "type": "source"}, "908": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_usdt_event_position_modified1", "type": "source"}, "909": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_removed", "type": "source"}, "910": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_delayed_order_submitted", "type": "source"}, "911": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_funding_recomputed", "type": "source"}, "912": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_margin_transferred", "type": "source"}, "913": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_perps_tracking", "type": "source"}, "914": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_flagged", "type": "source"}, "915": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated0", "type": "source"}, "916": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_liquidated1", "type": "source"}, "917": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified0", "type": "source"}, "918": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_wld_event_position_modified1", "type": "source"}, "919": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_removed", "type": "source"}, "920": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_delayed_order_submitted", "type": "source"}, "921": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_funding_recomputed", "type": "source"}, "922": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_margin_transferred", "type": "source"}, "923": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_perps_tracking", "type": "source"}, "924": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_flagged", "type": "source"}, "925": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated0", "type": "source"}, "926": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_liquidated1", "type": "source"}, "927": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified0", "type": "source"}, "928": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xag_event_position_modified1", "type": "source"}, "929": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_removed", "type": "source"}, "930": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_delayed_order_submitted", "type": "source"}, "931": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_funding_recomputed", "type": "source"}, "932": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_margin_transferred", "type": "source"}, "933": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_perps_tracking", "type": "source"}, "934": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_flagged", "type": "source"}, "935": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated0", "type": "source"}, "936": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_liquidated1", "type": "source"}, "937": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified0", "type": "source"}, "938": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xau_event_position_modified1", "type": "source"}, "939": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_removed", "type": "source"}, "940": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_delayed_order_submitted", "type": "source"}, "941": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_funding_recomputed", "type": "source"}, "942": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_margin_transferred", "type": "source"}, "943": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_perps_tracking", "type": "source"}, "944": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_flagged", "type": "source"}, "945": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated0", "type": "source"}, "946": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_liquidated1", "type": "source"}, "947": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified0", "type": "source"}, "948": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xlm_event_position_modified1", "type": "source"}, "949": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_removed", "type": "source"}, "950": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_delayed_order_submitted", "type": "source"}, "951": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_funding_recomputed", "type": "source"}, "952": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_margin_transferred", "type": "source"}, "953": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_perps_tracking", "type": "source"}, "954": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_flagged", "type": "source"}, "955": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated0", "type": "source"}, "956": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_liquidated1", "type": "source"}, "957": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified0", "type": "source"}, "958": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xmr_event_position_modified1", "type": "source"}, "959": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_removed", "type": "source"}, "960": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_delayed_order_submitted", "type": "source"}, "961": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_funding_recomputed", "type": "source"}, "962": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_margin_transferred", "type": "source"}, "963": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_perps_tracking", "type": "source"}, "964": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_flagged", "type": "source"}, "965": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated0", "type": "source"}, "966": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_liquidated1", "type": "source"}, "967": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified0", "type": "source"}, "968": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xrp_event_position_modified1", "type": "source"}, "969": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_removed", "type": "source"}, "970": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_delayed_order_submitted", "type": "source"}, "971": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_funding_recomputed", "type": "source"}, "972": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_margin_transferred", "type": "source"}, "973": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_perps_tracking", "type": "source"}, "974": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_flagged", "type": "source"}, "975": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated0", "type": "source"}, "976": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_liquidated1", "type": "source"}, "977": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified0", "type": "source"}, "978": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_xtz_event_position_modified1", "type": "source"}, "979": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_removed", "type": "source"}, "980": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_delayed_order_submitted", "type": "source"}, "981": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_funding_recomputed", "type": "source"}, "982": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_margin_transferred", "type": "source"}, "983": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_perps_tracking", "type": "source"}, "984": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_flagged", "type": "source"}, "985": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated0", "type": "source"}, "986": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_liquidated1", "type": "source"}, "987": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified0", "type": "source"}, "988": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_yfi_event_position_modified1", "type": "source"}, "989": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_removed", "type": "source"}, "990": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_delayed_order_submitted", "type": "source"}, "991": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_funding_recomputed", "type": "source"}, "992": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_margin_transferred", "type": "source"}, "993": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_perps_tracking", "type": "source"}, "994": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_flagged", "type": "source"}, "995": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated0", "type": "source"}, "996": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_liquidated1", "type": "source"}, "997": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified0", "type": "source"}, "998": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zec_event_position_modified1", "type": "source"}, "999": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_removed", "type": "source"}, "1000": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_delayed_order_submitted", "type": "source"}, "1001": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_funding_recomputed", "type": "source"}, "1002": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_margin_transferred", "type": "source"}, "1003": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_perps_tracking", "type": "source"}, "1004": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_flagged", "type": "source"}, "1005": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated0", "type": "source"}, "1006": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_liquidated1", "type": "source"}, "1007": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified0", "type": "source"}, "1008": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zil_event_position_modified1", "type": "source"}, "1009": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_removed", "type": "source"}, "1010": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_delayed_order_submitted", "type": "source"}, "1011": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_funding_recomputed", "type": "source"}, "1012": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_margin_transferred", "type": "source"}, "1013": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_perps_tracking", "type": "source"}, "1014": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_flagged", "type": "source"}, "1015": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated0", "type": "source"}, "1016": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_liquidated1", "type": "source"}, "1017": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified0", "type": "source"}, "1018": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_zrx_event_position_modified1", "type": "source"}, "1019": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_removed", "type": "source"}, "1020": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_delayed_order_submitted", "type": "source"}, "1021": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_funding_recomputed", "type": "source"}, "1022": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_margin_transferred", "type": "source"}, "1023": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_perps_tracking", "type": "source"}, "1024": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_flagged", "type": "source"}, "1025": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated0", "type": "source"}, "1026": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_liquidated1", "type": "source"}, "1027": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified0", "type": "source"}, "1028": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_ordi_event_position_modified1", "type": "source"}, "1029": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_removed", "type": "source"}, "1030": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_delayed_order_submitted", "type": "source"}, "1031": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_funding_recomputed", "type": "source"}, "1032": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_margin_transferred", "type": "source"}, "1033": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_perps_tracking", "type": "source"}, "1034": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_flagged", "type": "source"}, "1035": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated0", "type": "source"}, "1036": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_liquidated1", "type": "source"}, "1037": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified0", "type": "source"}, "1038": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_cvx_event_position_modified1", "type": "source"}, "1039": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_removed", "type": "source"}, "1040": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_delayed_order_submitted", "type": "source"}, "1041": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_funding_recomputed", "type": "source"}, "1042": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_margin_transferred", "type": "source"}, "1043": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_perps_tracking", "type": "source"}, "1044": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_flagged", "type": "source"}, "1045": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated0", "type": "source"}, "1046": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_liquidated1", "type": "source"}, "1047": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified0", "type": "source"}, "1048": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jup_event_position_modified1", "type": "source"}, "1049": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_removed", "type": "source"}, "1050": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_delayed_order_submitted", "type": "source"}, "1051": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_funding_recomputed", "type": "source"}, "1052": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_margin_transferred", "type": "source"}, "1053": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_perps_tracking", "type": "source"}, "1054": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_flagged", "type": "source"}, "1055": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated0", "type": "source"}, "1056": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_liquidated1", "type": "source"}, "1057": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified0", "type": "source"}, "1058": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_jto_event_position_modified1", "type": "source"}, "1059": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_removed", "type": "source"}, "1060": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_delayed_order_submitted", "type": "source"}, "1061": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_funding_recomputed", "type": "source"}, "1062": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_margin_transferred", "type": "source"}, "1063": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_perps_tracking", "type": "source"}, "1064": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_flagged", "type": "source"}, "1065": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated0", "type": "source"}, "1066": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_liquidated1", "type": "source"}, "1067": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified0", "type": "source"}, "1068": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_strk_event_position_modified1", "type": "source"}, "1069": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_removed", "type": "source"}, "1070": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_delayed_order_submitted", "type": "source"}, "1071": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_funding_recomputed", "type": "source"}, "1072": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_margin_transferred", "type": "source"}, "1073": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_perps_tracking", "type": "source"}, "1074": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_flagged", "type": "source"}, "1075": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated0", "type": "source"}, "1076": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_liquidated1", "type": "source"}, "1077": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified0", "type": "source"}, "1078": {"name": "source.synthetix.raw_optimism_mainnet.perps_v2_pendle_event_position_modified1", "type": "source"}, "1079": {"name": "model.synthetix.blocks_eth_mainnet", "type": "model", "succ": [1394, 1395, 1396]}, "1080": {"name": "model.synthetix.core_account_created_eth_mainnet", "type": "model", "succ": [1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407]}, "1081": {"name": "model.synthetix.core_vault_debt_eth_mainnet", "type": "model", "succ": [1220, 1615, 1616, 1617, 1618, 1619, 1620, 1621]}, "1082": {"name": "model.synthetix.core_vault_collateral_eth_mainnet", "type": "model", "succ": [1219, 1235, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614]}, "1083": {"name": "model.synthetix.core_vault_liquidation_eth_mainnet", "type": "model", "succ": [1590, 1591, 1592, 1593, 1594, 1595, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604]}, "1084": {"name": "model.synthetix.core_deposited_eth_mainnet", "type": "model", "succ": [1216, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453]}, "1085": {"name": "model.synthetix.core_pool_created_eth_mainnet", "type": "model", "succ": [1233, 1514, 1515, 1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525]}, "1086": {"name": "model.synthetix.core_market_registered_eth_mainnet", "type": "model", "succ": [1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513]}, "1087": {"name": "model.synthetix.core_market_updated_eth_mainnet", "type": "model", "succ": [1229, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501]}, "1088": {"name": "model.synthetix.core_rewards_distributed_eth_mainnet", "type": "model", "succ": [1231, 1542, 1543, 1544, 1545, 1546, 1547, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557]}, "1089": {"name": "model.synthetix.core_withdrawn_eth_mainnet", "type": "model", "succ": [1216, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467]}, "1090": {"name": "model.synthetix.core_rewards_claimed_eth_mainnet", "type": "model", "succ": [1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541]}, "1091": {"name": "model.synthetix.core_delegation_updated_eth_mainnet", "type": "model", "succ": [1227, 1228, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439]}, "1092": {"name": "model.synthetix.core_liquidation_eth_mainnet", "type": "model", "succ": [1468, 1469, 1470, 1471, 1472, 1473, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483]}, "1093": {"name": "model.synthetix.core_account_migrated_eth_mainnet", "type": "model", "succ": [1225, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421]}, "1094": {"name": "model.synthetix.core_usd_burned_eth_mainnet", "type": "model", "succ": [1226, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573]}, "1095": {"name": "model.synthetix.core_usd_minted_eth_mainnet", "type": "model", "succ": [1226, 1574, 1575, 1576, 1577, 1578, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589]}, "1096": {"name": "model.synthetix.blocks_arbitrum_mainnet", "type": "model", "succ": [1622, 1623, 1624]}, "1097": {"name": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "type": "model", "succ": [1740, 1741, 1742, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755]}, "1098": {"name": "model.synthetix.core_market_registered_arbitrum_mainnet", "type": "model", "succ": [1716, 1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727]}, "1099": {"name": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "type": "model", "succ": [1240, 1258, 1819, 1820, 1821, 1822, 1823, 1824, 1825, 1826, 1827, 1828]}, "1100": {"name": "model.synthetix.core_account_created_arbitrum_mainnet", "type": "model", "succ": [1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635]}, "1101": {"name": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "type": "model", "succ": [1238, 1248, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653]}, "1102": {"name": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "type": "model", "succ": [1242, 1756, 1757, 1758, 1759, 1760, 1761, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771]}, "1103": {"name": "model.synthetix.core_pool_created_arbitrum_mainnet", "type": "model", "succ": [1246, 1728, 1729, 1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1738, 1739]}, "1104": {"name": "model.synthetix.core_liquidation_arbitrum_mainnet", "type": "model", "succ": [1682, 1683, 1684, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697]}, "1105": {"name": "model.synthetix.core_deposited_arbitrum_mainnet", "type": "model", "succ": [1253, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667]}, "1106": {"name": "model.synthetix.core_vault_debt_arbitrum_mainnet", "type": "model", "succ": [1237, 1829, 1830, 1831, 1832, 1833, 1834, 1835]}, "1107": {"name": "model.synthetix.core_usd_burned_arbitrum_mainnet", "type": "model", "succ": [1245, 1255, 1772, 1773, 1774, 1775, 1776, 1777, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787]}, "1108": {"name": "model.synthetix.core_withdrawn_arbitrum_mainnet", "type": "model", "succ": [1253, 1668, 1669, 1670, 1671, 1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, 1680, 1681]}, "1109": {"name": "model.synthetix.core_market_updated_arbitrum_mainnet", "type": "model", "succ": [1247, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715]}, "1110": {"name": "model.synthetix.core_usd_minted_arbitrum_mainnet", "type": "model", "succ": [1245, 1255, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803]}, "1111": {"name": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "type": "model", "succ": [1804, 1805, 1806, 1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818]}, "1112": {"name": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "type": "model", "succ": [1254, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921]}, "1113": {"name": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "type": "model", "succ": [1254, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904]}, "1114": {"name": "model.synthetix.spot_order_committed_arbitrum_mainnet", "type": "model", "succ": [1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850]}, "1115": {"name": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "type": "model", "succ": [1257, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889]}, "1116": {"name": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "type": "model", "succ": [1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878]}, "1117": {"name": "model.synthetix.spot_order_settled_arbitrum_mainnet", "type": "model", "succ": [1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867]}, "1118": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "type": "model", "succ": [1256, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, 1942, 1943, 1944, 1945, 1946, 1947]}, "1119": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "type": "model", "succ": [1256, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933]}, "1120": {"name": "model.synthetix.blocks_arbitrum_sepolia", "type": "model", "succ": [1948, 1949, 1950]}, "1121": {"name": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "type": "model", "succ": [2130, 2131, 2132, 2133, 2134, 2135, 2136, 2137, 2138, 2139, 2140, 2141, 2142, 2143, 2144]}, "1122": {"name": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "type": "model", "succ": [1261, 2082, 2083, 2084, 2085, 2086, 2087, 2088, 2089, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097]}, "1123": {"name": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "type": "model", "succ": [1264, 1281, 2145, 2146, 2147, 2148, 2149, 2150, 2151, 2152, 2153, 2154]}, "1124": {"name": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "type": "model", "succ": [1266, 1274, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979]}, "1125": {"name": "model.synthetix.core_deposited_arbitrum_sepolia", "type": "model", "succ": [1270, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993]}, "1126": {"name": "model.synthetix.core_liquidation_arbitrum_sepolia", "type": "model", "succ": [2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023]}, "1127": {"name": "model.synthetix.core_pool_created_arbitrum_sepolia", "type": "model", "succ": [1265, 2054, 2055, 2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065]}, "1128": {"name": "model.synthetix.core_account_created_arbitrum_sepolia", "type": "model", "succ": [1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961]}, "1129": {"name": "model.synthetix.core_market_registered_arbitrum_sepolia", "type": "model", "succ": [2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053]}, "1130": {"name": "model.synthetix.core_market_updated_arbitrum_sepolia", "type": "model", "succ": [1276, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031, 2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041]}, "1131": {"name": "model.synthetix.core_vault_debt_arbitrum_sepolia", "type": "model", "succ": [1267, 2155, 2156, 2157, 2158, 2159, 2160, 2161]}, "1132": {"name": "model.synthetix.core_withdrawn_arbitrum_sepolia", "type": "model", "succ": [1270, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007]}, "1133": {"name": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "type": "model", "succ": [2066, 2067, 2068, 2069, 2070, 2071, 2072, 2073, 2074, 2075, 2076, 2077, 2078, 2079, 2080, 2081]}, "1134": {"name": "model.synthetix.core_usd_minted_arbitrum_sepolia", "type": "model", "succ": [1260, 1277, 2114, 2115, 2116, 2117, 2118, 2119, 2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129]}, "1135": {"name": "model.synthetix.core_usd_burned_arbitrum_sepolia", "type": "model", "succ": [1260, 1277, 2098, 2099, 2100, 2101, 2102, 2103, 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113]}, "1136": {"name": "model.synthetix.spot_order_settled_arbitrum_sepolia", "type": "model", "succ": [2177, 2178, 2179, 2180, 2181, 2182, 2183, 2184, 2185, 2186, 2187, 2188, 2189, 2190, 2191, 2192, 2193]}, "1137": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "type": "model", "succ": [1278, 2248, 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259]}, "1138": {"name": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "type": "model", "succ": [1279, 2231, 2232, 2233, 2234, 2235, 2236, 2237, 2238, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2247]}, "1139": {"name": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "type": "model", "succ": [1279, 2216, 2217, 2218, 2219, 2220, 2221, 2222, 2223, 2224, 2225, 2226, 2227, 2228, 2229, 2230]}, "1140": {"name": "model.synthetix.spot_order_committed_arbitrum_sepolia", "type": "model", "succ": [2162, 2163, 2164, 2165, 2166, 2167, 2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176]}, "1141": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "type": "model", "succ": [1278, 2260, 2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273]}, "1142": {"name": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "type": "model", "succ": [2194, 2195, 2196, 2197, 2198, 2199, 2200, 2201, 2202, 2203, 2204]}, "1143": {"name": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "type": "model", "succ": [1280, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215]}, "1144": {"name": "model.synthetix.blocks_base_mainnet", "type": "model", "succ": [2274, 2275, 2276]}, "1145": {"name": "model.synthetix.perp_market_created_base_mainnet", "type": "model", "succ": [1284, 2382, 2383, 2384, 2385, 2386, 2387, 2388, 2389, 2390, 2391, 2392, 2393]}, "1146": {"name": "model.synthetix.perp_account_created_base_mainnet", "type": "model", "succ": [1293, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287]}, "1147": {"name": "model.synthetix.perp_interest_rate_updated_base_mainnet", "type": "model", "succ": [2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411, 2412, 2413, 2414, 2415]}, "1148": {"name": "model.synthetix.perp_order_committed_base_mainnet", "type": "model", "succ": [1287, 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299]}, "1149": {"name": "model.synthetix.perp_collateral_modified_base_mainnet", "type": "model", "succ": [1288, 2357, 2358, 2359, 2360, 2361, 2362, 2363, 2364, 2365, 2366, 2367, 2368, 2369]}, "1150": {"name": "model.synthetix.perp_interest_charged_base_mainnet", "type": "model", "succ": [1289, 2394, 2395, 2396, 2397, 2398, 2399, 2400, 2401, 2402, 2403]}, "1151": {"name": "model.synthetix.perp_previous_order_expired_base_mainnet", "type": "model", "succ": [1285, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381]}, "1152": {"name": "model.synthetix.perp_position_liquidated_base_mainnet", "type": "model", "succ": [1291, 2328, 2329, 2330, 2331, 2332, 2333, 2334, 2335, 2336, 2337, 2338, 2339, 2340, 2341, 2342, 2343]}, "1153": {"name": "model.synthetix.perp_order_settled_base_mainnet", "type": "model", "succ": [1283, 2300, 2301, 2302, 2303, 2304, 2305, 2306, 2307, 2308, 2309, 2310, 2311, 2312, 2313]}, "1154": {"name": "model.synthetix.perp_market_updated_base_mainnet", "type": "model", "succ": [1286, 2314, 2315, 2316, 2317, 2318, 2319, 2320, 2321, 2322, 2323, 2324, 2325, 2326, 2327]}, "1155": {"name": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "type": "model", "succ": [1292, 2344, 2345, 2346, 2347, 2348, 2349, 2350, 2351, 2352, 2353, 2354, 2355, 2356]}, "1156": {"name": "model.synthetix.buyback_processed_base_mainnet", "type": "model", "succ": [1295, 2416, 2417, 2418, 2419, 2420, 2421, 2422, 2423, 2424, 2425, 2426, 2427, 2428]}, "1157": {"name": "model.synthetix.core_deposited_base_mainnet", "type": "model", "succ": [1313, 2458, 2459, 2460, 2461, 2462, 2463, 2464, 2465, 2466, 2467, 2468, 2469, 2470, 2471]}, "1158": {"name": "model.synthetix.core_rewards_claimed_base_mainnet", "type": "model", "succ": [2544, 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2552, 2553, 2554, 2555, 2556, 2557, 2558, 2559]}, "1159": {"name": "model.synthetix.core_pool_created_base_mainnet", "type": "model", "succ": [1297, 2532, 2533, 2534, 2535, 2536, 2537, 2538, 2539, 2540, 2541, 2542, 2543]}, "1160": {"name": "model.synthetix.core_vault_collateral_base_mainnet", "type": "model", "succ": [1300, 1303, 1329, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2630, 2631, 2632]}, "1161": {"name": "model.synthetix.core_usd_burned_base_mainnet", "type": "model", "succ": [1306, 1326, 2576, 2577, 2578, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 2589, 2590, 2591]}, "1162": {"name": "model.synthetix.core_liquidation_base_mainnet", "type": "model", "succ": [2486, 2487, 2488, 2489, 2490, 2491, 2492, 2493, 2494, 2495, 2496, 2497, 2498, 2499, 2500, 2501]}, "1163": {"name": "model.synthetix.core_vault_liquidation_base_mainnet", "type": "model", "succ": [2608, 2609, 2610, 2611, 2612, 2613, 2614, 2615, 2616, 2617, 2618, 2619, 2620, 2621, 2622]}, "1164": {"name": "model.synthetix.core_withdrawn_base_mainnet", "type": "model", "succ": [1313, 2472, 2473, 2474, 2475, 2476, 2477, 2478, 2479, 2480, 2481, 2482, 2483, 2484, 2485]}, "1165": {"name": "model.synthetix.core_account_created_base_mainnet", "type": "model", "succ": [2429, 2430, 2431, 2432, 2433, 2434, 2435, 2436, 2437, 2438, 2439]}, "1166": {"name": "model.synthetix.core_market_updated_base_mainnet", "type": "model", "succ": [1301, 2502, 2503, 2504, 2505, 2506, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 2514, 2515, 2516, 2517, 2518, 2519]}, "1167": {"name": "model.synthetix.core_rewards_distributed_base_mainnet", "type": "model", "succ": [1304, 2560, 2561, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, 2571, 2572, 2573, 2574, 2575]}, "1168": {"name": "model.synthetix.core_usd_minted_base_mainnet", "type": "model", "succ": [1306, 1326, 2592, 2593, 2594, 2595, 2596, 2597, 2598, 2599, 2600, 2601, 2602, 2603, 2604, 2605, 2606, 2607]}, "1169": {"name": "model.synthetix.core_vault_debt_base_mainnet", "type": "model", "succ": [1290, 1309, 2633, 2634, 2635, 2636, 2637, 2638, 2639]}, "1170": {"name": "model.synthetix.core_market_registered_base_mainnet", "type": "model", "succ": [2520, 2521, 2522, 2523, 2524, 2525, 2526, 2527, 2528, 2529, 2530, 2531]}, "1171": {"name": "model.synthetix.core_delegation_updated_base_mainnet", "type": "model", "succ": [1310, 1312, 2440, 2441, 2442, 2443, 2444, 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 2455, 2456, 2457]}, "1172": {"name": "model.synthetix.spot_synth_wrapped_base_mainnet", "type": "model", "succ": [1327, 2726, 2727, 2728, 2729, 2730, 2731, 2732, 2733, 2734, 2735, 2736, 2737]}, "1173": {"name": "model.synthetix.spot_synth_unwrapped_base_mainnet", "type": "model", "succ": [1327, 2738, 2739, 2740, 2741, 2742, 2743, 2744, 2745, 2746, 2747, 2748, 2749, 2750, 2751]}, "1174": {"name": "model.synthetix.spot_synth_registered_base_mainnet", "type": "model", "succ": [1325, 2683, 2684, 2685, 2686, 2687, 2688, 2689, 2690, 2691, 2692, 2693]}, "1175": {"name": "model.synthetix.spot_order_committed_base_mainnet", "type": "model", "succ": [2640, 2641, 2642, 2643, 2644, 2645, 2646, 2647, 2648, 2649, 2650, 2651, 2652, 2653, 2654]}, "1176": {"name": "model.synthetix.spot_synth_bought_base_mainnet", "type": "model", "succ": [1328, 2694, 2695, 2696, 2697, 2698, 2699, 2700, 2701, 2702, 2703, 2704, 2705, 2706, 2707, 2708]}, "1177": {"name": "model.synthetix.spot_order_settled_base_mainnet", "type": "model", "succ": [2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, 2671]}, "1178": {"name": "model.synthetix.spot_order_cancelled_base_mainnet", "type": "model", "succ": [2672, 2673, 2674, 2675, 2676, 2677, 2678, 2679, 2680, 2681, 2682]}, "1179": {"name": "model.synthetix.spot_synth_sold_base_mainnet", "type": "model", "succ": [1328, 2709, 2710, 2711, 2712, 2713, 2714, 2715, 2716, 2717, 2718, 2719, 2720, 2721, 2722, 2723, 2724, 2725]}, "1180": {"name": "model.synthetix.blocks_base_sepolia", "type": "model", "succ": [2752, 2753, 2754]}, "1181": {"name": "model.synthetix.perp_order_committed_base_sepolia", "type": "model", "succ": [1341, 2766, 2767, 2768, 2769, 2770, 2771, 2772, 2773, 2774, 2775, 2776, 2777]}, "1182": {"name": "model.synthetix.perp_order_settled_base_sepolia", "type": "model", "succ": [1338, 2778, 2779, 2780, 2781, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2789, 2790, 2791]}, "1183": {"name": "model.synthetix.perp_market_updated_base_sepolia", "type": "model", "succ": [1331, 2792, 2793, 2794, 2795, 2796, 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805]}, "1184": {"name": "model.synthetix.perp_collateral_modified_base_sepolia", "type": "model", "succ": [1337, 2835, 2836, 2837, 2838, 2839, 2840, 2841, 2842, 2843, 2844, 2845, 2846, 2847]}, "1185": {"name": "model.synthetix.perp_interest_rate_updated_base_sepolia", "type": "model", "succ": [2882, 2883, 2884, 2885, 2886, 2887, 2888, 2889, 2890, 2891, 2892, 2893]}, "1186": {"name": "model.synthetix.perp_account_created_base_sepolia", "type": "model", "succ": [1333, 2755, 2756, 2757, 2758, 2759, 2760, 2761, 2762, 2763, 2764, 2765]}, "1187": {"name": "model.synthetix.perp_market_created_base_sepolia", "type": "model", "succ": [1332, 2860, 2861, 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2869, 2870, 2871]}, "1188": {"name": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "type": "model", "succ": [1336, 2822, 2823, 2824, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834]}, "1189": {"name": "model.synthetix.perp_interest_charged_base_sepolia", "type": "model", "succ": [1335, 2872, 2873, 2874, 2875, 2876, 2877, 2878, 2879, 2880, 2881]}, "1190": {"name": "model.synthetix.perp_position_liquidated_base_sepolia", "type": "model", "succ": [1340, 2806, 2807, 2808, 2809, 2810, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821]}, "1191": {"name": "model.synthetix.perp_previous_order_expired_base_sepolia", "type": "model", "succ": [1334, 2848, 2849, 2850, 2851, 2852, 2853, 2854, 2855, 2856, 2857, 2858, 2859]}, "1192": {"name": "model.synthetix.buyback_processed_base_sepolia", "type": "model", "succ": [1343, 2894, 2895, 2896, 2897, 2898, 2899, 2900, 2901, 2902, 2903, 2904, 2905, 2906]}, "1193": {"name": "model.synthetix.core_rewards_distributed_base_sepolia", "type": "model", "succ": [1345, 3038, 3039, 3040, 3041, 3042, 3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053]}, "1194": {"name": "model.synthetix.core_market_updated_base_sepolia", "type": "model", "succ": [1358, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2987, 2988, 2989, 2990, 2991, 2992, 2993, 2994, 2995, 2996, 2997]}, "1195": {"name": "model.synthetix.core_deposited_base_sepolia", "type": "model", "succ": [1361, 2936, 2937, 2938, 2939, 2940, 2941, 2942, 2943, 2944, 2945, 2946, 2947, 2948, 2949]}, "1196": {"name": "model.synthetix.core_account_created_base_sepolia", "type": "model", "succ": [2907, 2908, 2909, 2910, 2911, 2912, 2913, 2914, 2915, 2916, 2917]}, "1197": {"name": "model.synthetix.core_vault_collateral_base_sepolia", "type": "model", "succ": [1348, 1376, 3101, 3102, 3103, 3104, 3105, 3106, 3107, 3108, 3109, 3110]}, "1198": {"name": "model.synthetix.core_withdrawn_base_sepolia", "type": "model", "succ": [1361, 2950, 2951, 2952, 2953, 2954, 2955, 2956, 2957, 2958, 2959, 2960, 2961, 2962, 2963]}, "1199": {"name": "model.synthetix.core_vault_liquidation_base_sepolia", "type": "model", "succ": [3086, 3087, 3088, 3089, 3090, 3091, 3092, 3093, 3094, 3095, 3096, 3097, 3098, 3099, 3100]}, "1200": {"name": "model.synthetix.core_rewards_claimed_base_sepolia", "type": "model", "succ": [3022, 3023, 3024, 3025, 3026, 3027, 3028, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037]}, "1201": {"name": "model.synthetix.core_liquidation_base_sepolia", "type": "model", "succ": [2964, 2965, 2966, 2967, 2968, 2969, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979]}, "1202": {"name": "model.synthetix.core_usd_minted_base_sepolia", "type": "model", "succ": [1352, 1372, 3070, 3071, 3072, 3073, 3074, 3075, 3076, 3077, 3078, 3079, 3080, 3081, 3082, 3083, 3084, 3085]}, "1203": {"name": "model.synthetix.core_delegation_updated_base_sepolia", "type": "model", "succ": [1355, 1360, 2918, 2919, 2920, 2921, 2922, 2923, 2924, 2925, 2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935]}, "1204": {"name": "model.synthetix.core_vault_debt_base_sepolia", "type": "model", "succ": [1339, 1353, 3111, 3112, 3113, 3114, 3115, 3116, 3117]}, "1205": {"name": "model.synthetix.core_usd_burned_base_sepolia", "type": "model", "succ": [1352, 1372, 3054, 3055, 3056, 3057, 3058, 3059, 3060, 3061, 3062, 3063, 3064, 3065, 3066, 3067, 3068, 3069]}, "1206": {"name": "model.synthetix.core_market_registered_base_sepolia", "type": "model", "succ": [2998, 2999, 3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009]}, "1207": {"name": "model.synthetix.core_pool_created_base_sepolia", "type": "model", "succ": [1350, 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017, 3018, 3019, 3020, 3021]}, "1208": {"name": "model.synthetix.spot_order_committed_base_sepolia", "type": "model", "succ": [3118, 3119, 3120, 3121, 3122, 3123, 3124, 3125, 3126, 3127, 3128, 3129, 3130, 3131, 3132]}, "1209": {"name": "model.synthetix.spot_synth_wrapped_base_sepolia", "type": "model", "succ": [1373, 3204, 3205, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3214, 3215]}, "1210": {"name": "model.synthetix.spot_synth_registered_base_sepolia", "type": "model", "succ": [1375, 3161, 3162, 3163, 3164, 3165, 3166, 3167, 3168, 3169, 3170, 3171]}, "1211": {"name": "model.synthetix.spot_synth_sold_base_sepolia", "type": "model", "succ": [1374, 3187, 3188, 3189, 3190, 3191, 3192, 3193, 3194, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203]}, "1212": {"name": "model.synthetix.spot_synth_unwrapped_base_sepolia", "type": "model", "succ": [1373, 3216, 3217, 3218, 3219, 3220, 3221, 3222, 3223, 3224, 3225, 3226, 3227, 3228, 3229]}, "1213": {"name": "model.synthetix.spot_order_cancelled_base_sepolia", "type": "model", "succ": [3150, 3151, 3152, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160]}, "1214": {"name": "model.synthetix.spot_synth_bought_base_sepolia", "type": "model", "succ": [1374, 3172, 3173, 3174, 3175, 3176, 3177, 3178, 3179, 3180, 3181, 3182, 3183, 3184, 3185, 3186]}, "1215": {"name": "model.synthetix.spot_order_settled_base_sepolia", "type": "model", "succ": [3133, 3134, 3135, 3136, 3137, 3138, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 3147, 3148, 3149]}, "1216": {"name": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "type": "model", "succ": [3281, 3282, 3283]}, "1217": {"name": "model.synthetix.fct_core_apr_rewards_eth_mainnet", "type": "model"}, "1218": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "type": "model", "succ": [1217]}, "1219": {"name": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "type": "model", "succ": [1218, 1230, 3312, 3313, 3314, 3315, 3316, 3317, 3318, 3319, 3320, 3321, 3322, 3323, 3324, 3325, 3326, 3327, 3328]}, "1220": {"name": "model.synthetix.fct_pool_debt_eth_mainnet", "type": "model", "succ": [1219, 1221, 1223, 1224, 3293, 3294, 3295, 3296, 3297, 3298]}, "1221": {"name": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "type": "model", "succ": [1219, 3299, 3300, 3301, 3302, 3303]}, "1222": {"name": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "type": "model", "succ": [1219, 3329, 3330, 3331, 3332, 3333, 3334]}, "1223": {"name": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "type": "model", "succ": [1219, 3361, 3362, 3363, 3364, 3365, 3366]}, "1224": {"name": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "type": "model", "succ": [1218, 1222, 3335, 3336, 3337, 3338, 3339, 3340, 3341, 3342, 3343, 3344, 3345, 3346, 3347, 3348]}, "1225": {"name": "model.synthetix.fct_core_migration_eth_mainnet", "type": "model", "succ": [1223, 3349, 3350, 3351, 3352, 3353, 3354, 3355, 3356, 3357, 3358, 3359, 3360]}, "1226": {"name": "model.synthetix.fct_pool_issuance_eth_mainnet", "type": "model", "succ": [1221, 3304, 3305, 3306, 3307, 3308, 3309, 3310, 3311]}, "1227": {"name": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "type": "model", "succ": [3284, 3285, 3286, 3287]}, "1228": {"name": "model.synthetix.fct_core_account_delegation_eth_mainnet", "type": "model", "succ": [3238, 3239, 3240, 3241, 3242, 3243, 3244]}, "1229": {"name": "model.synthetix.fct_core_market_updated_eth_mainnet", "type": "model", "succ": [3269, 3270, 3271, 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280]}, "1230": {"name": "model.synthetix.fct_core_apr_eth_mainnet", "type": "model", "succ": [3245, 3246, 3247, 3248, 3249, 3250, 3251, 3252, 3253, 3254, 3255, 3256, 3257, 3258, 3259, 3260, 3261, 3262, 3263, 3264, 3265, 3266, 3267, 3268]}, "1231": {"name": "model.synthetix.fct_pool_rewards_eth_mainnet", "type": "model", "succ": [1224, 3230, 3231, 3232, 3233, 3234, 3235, 3236, 3237]}, "1232": {"name": "seed.synthetix.eth_mainnet_reward_distributors", "type": "seed", "succ": [1231]}, "1233": {"name": "model.synthetix.fct_core_pools_eth_mainnet", "type": "model", "succ": [3288, 3289, 3290, 3291, 3292]}, "1234": {"name": "model.synthetix.fct_prices_hourly_eth_mainnet", "type": "model", "succ": [1224, 3371, 3372, 3373, 3374]}, "1235": {"name": "model.synthetix.fct_prices_eth_mainnet", "type": "model", "succ": [1234, 3367, 3368, 3369, 3370]}, "1236": {"name": "seed.synthetix.eth_mainnet_tokens", "type": "seed", "succ": [1235]}, "1237": {"name": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "type": "model", "succ": [1241, 1244, 1240, 3437, 3438, 3439, 3440, 3441, 3442]}, "1238": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "type": "model", "succ": [3383, 3384, 3385, 3386, 3387, 3388, 3389]}, "1239": {"name": "model.synthetix.fct_core_apr_arbitrum_mainnet", "type": "model", "succ": [3390, 3391, 3392, 3393, 3394, 3395, 3396, 3397, 3398, 3399, 3400, 3401, 3402, 3403, 3404, 3405, 3406, 3407, 3408, 3409, 3410, 3411, 3412]}, "1240": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "type": "model", "succ": [1239, 1252, 3456, 3457, 3458, 3459, 3460, 3461, 3462, 3463, 3464, 3465, 3466, 3467, 3468, 3469, 3470, 3471]}, "1241": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "type": "model", "succ": [1250, 1252, 3478, 3479, 3480, 3481, 3482, 3483, 3484, 3485, 3486, 3487, 3488, 3489, 3490, 3491]}, "1242": {"name": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "type": "model", "succ": [1241, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382]}, "1243": {"name": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "type": "model", "succ": [1241, 3524, 3525, 3526, 3527]}, "1244": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "type": "model", "succ": [1240, 3443, 3444, 3445, 3446, 3447]}, "1245": {"name": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "type": "model", "succ": [1244, 3448, 3449, 3450, 3451, 3452, 3453, 3454, 3455]}, "1246": {"name": "model.synthetix.fct_core_pools_arbitrum_mainnet", "type": "model", "succ": [3432, 3433, 3434, 3435, 3436]}, "1247": {"name": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "type": "model", "succ": [3413, 3414, 3415, 3416, 3417, 3418, 3419, 3420, 3421, 3422, 3423, 3424]}, "1248": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "type": "model", "succ": [3428, 3429, 3430, 3431]}, "1249": {"name": "seed.synthetix.arbitrum_mainnet_reward_distributors", "type": "seed", "succ": [1242, 1378, 1379]}, "1250": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "type": "model", "succ": [1240, 3472, 3473, 3474, 3475, 3476, 3477]}, "1251": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "type": "model"}, "1252": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "type": "model", "succ": [1251]}, "1253": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "type": "model", "succ": [3425, 3426, 3427]}, "1254": {"name": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "type": "model", "succ": [1255, 3497, 3498, 3499, 3500, 3501, 3502, 3503, 3504, 3505, 3506]}, "1255": {"name": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "type": "model", "succ": [3492, 3493, 3494, 3495, 3496]}, "1256": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "type": "model", "succ": [1255, 3512, 3513, 3514, 3515, 3516, 3517, 3518, 3519]}, "1257": {"name": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "type": "model", "succ": [3507, 3508, 3509, 3510, 3511]}, "1258": {"name": "model.synthetix.fct_prices_arbitrum_mainnet", "type": "model", "succ": [1243, 3520, 3521, 3522, 3523]}, "1259": {"name": "seed.synthetix.arbitrum_mainnet_tokens", "type": "seed", "succ": [1258, 1386, 1387]}, "1260": {"name": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "type": "model", "succ": [1268, 3601, 3602, 3603, 3604, 3605, 3606, 3607, 3608]}, "1261": {"name": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "type": "model", "succ": [1271, 3528, 3529, 3530, 3531, 3532, 3533, 3534, 3535]}, "1262": {"name": "seed.synthetix.arbitrum_sepolia_reward_distributors", "type": "seed", "succ": [1261, 1380, 1381]}, "1263": {"name": "model.synthetix.fct_core_apr_arbitrum_sepolia", "type": "model", "succ": [3543, 3544, 3545, 3546, 3547, 3548, 3549, 3550, 3551, 3552, 3553, 3554, 3555, 3556, 3557, 3558, 3559, 3560, 3561, 3562, 3563, 3564, 3565]}, "1264": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "type": "model", "succ": [1263, 1273, 3609, 3610, 3611, 3612, 3613, 3614, 3615, 3616, 3617, 3618, 3619, 3620, 3621, 3622, 3623, 3624]}, "1265": {"name": "model.synthetix.fct_core_pools_arbitrum_sepolia", "type": "model", "succ": [3585, 3586, 3587, 3588, 3589]}, "1266": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "type": "model", "succ": [3536, 3537, 3538, 3539, 3540, 3541, 3542]}, "1267": {"name": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "type": "model", "succ": [1264, 1271, 1268, 3590, 3591, 3592, 3593, 3594, 3595]}, "1268": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "type": "model", "succ": [1264, 3596, 3597, 3598, 3599, 3600]}, "1269": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "type": "model", "succ": [1264, 3625, 3626, 3627, 3628, 3629, 3630]}, "1270": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "type": "model", "succ": [3578, 3579, 3580]}, "1271": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "type": "model", "succ": [1273, 1269, 3631, 3632, 3633, 3634, 3635, 3636, 3637, 3638, 3639, 3640, 3641, 3642, 3643, 3644]}, "1272": {"name": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "type": "model", "succ": [1271, 3677, 3678, 3679, 3680]}, "1273": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "type": "model", "succ": [1275]}, "1274": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "type": "model", "succ": [3581, 3582, 3583, 3584]}, "1275": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "type": "model"}, "1276": {"name": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "type": "model", "succ": [3566, 3567, 3568, 3569, 3570, 3571, 3572, 3573, 3574, 3575, 3576, 3577]}, "1277": {"name": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "type": "model", "succ": [3645, 3646, 3647, 3648, 3649]}, "1278": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "type": "model", "succ": [1277, 3665, 3666, 3667, 3668, 3669, 3670, 3671, 3672]}, "1279": {"name": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "type": "model", "succ": [1277, 3650, 3651, 3652, 3653, 3654, 3655, 3656, 3657, 3658, 3659]}, "1280": {"name": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "type": "model", "succ": [3660, 3661, 3662, 3663, 3664]}, "1281": {"name": "model.synthetix.fct_prices_arbitrum_sepolia", "type": "model", "succ": [1272, 3673, 3674, 3675, 3676]}, "1282": {"name": "seed.synthetix.arbitrum_sepolia_tokens", "type": "seed", "succ": [1281, 1388, 1389]}, "1283": {"name": "model.synthetix.fct_perp_trades_base_mainnet", "type": "model", "succ": [1317, 1319, 1322, 1321, 1318, 3716, 3717, 3718, 3719, 3720, 3721, 3722, 3723, 3724, 3725, 3726, 3727, 3728, 3729, 3730, 3731, 3732, 3733, 3734, 3735, 3736, 3737, 3738, 3739, 3740, 3741, 3742, 3743, 3744, 3745, 3746, 3747]}, "1284": {"name": "model.synthetix.fct_perp_markets_base_mainnet", "type": "model", "succ": [1283, 1286, 1287, 1291, 3761, 3762, 3763, 3764, 3765, 3766]}, "1285": {"name": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "type": "model", "succ": [3704, 3705, 3706, 3707, 3708, 3709, 3710, 3711, 3712, 3713, 3714, 3715]}, "1286": {"name": "model.synthetix.fct_perp_market_history_base_mainnet", "type": "model", "succ": [1329, 3767, 3768, 3769, 3770, 3771, 3772, 3773, 3774, 3775, 3776, 3777, 3778, 3779, 3780, 3781, 3782, 3783, 3784, 3785]}, "1287": {"name": "model.synthetix.fct_perp_orders_base_mainnet", "type": "model", "succ": [3751, 3752, 3753, 3754, 3755, 3756, 3757, 3758, 3759, 3760]}, "1288": {"name": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "type": "model", "succ": [3693, 3694, 3695, 3696, 3697, 3698, 3699, 3700, 3701, 3702, 3703]}, "1289": {"name": "model.synthetix.fct_perp_interest_charged_base_mainnet", "type": "model", "succ": [3681, 3682, 3683, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691, 3692]}, "1290": {"name": "model.synthetix.fct_perp_pnl_base_mainnet", "type": "model", "succ": [3748, 3749, 3750]}, "1291": {"name": "model.synthetix.fct_perp_liq_position_base_mainnet", "type": "model", "succ": [1319, 1321, 3786, 3787, 3788, 3789, 3790, 3791, 3792, 3793, 3794, 3795, 3796, 3797, 3798]}, "1292": {"name": "model.synthetix.fct_perp_liq_account_base_mainnet", "type": "model", "succ": [1316, 3799, 3800, 3801, 3802]}, "1293": {"name": "model.synthetix.fct_perp_accounts_base_mainnet", "type": "model", "succ": [3803, 3804, 3805, 3806]}, "1294": {"name": "model.synthetix.fct_buyback_hourly_base_mainnet", "type": "model", "succ": [3816, 3817, 3818, 3819, 3820, 3821, 3822, 3823, 3824]}, "1295": {"name": "model.synthetix.fct_buyback_base_mainnet", "type": "model", "succ": [1294, 1296, 1329, 3825, 3826, 3827, 3828, 3829, 3830, 3831, 3832, 3833, 3834]}, "1296": {"name": "model.synthetix.fct_buyback_daily_base_mainnet", "type": "model", "succ": [3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815]}, "1297": {"name": "model.synthetix.fct_core_pools_base_mainnet", "type": "model", "succ": [3901, 3902, 3903, 3904, 3905]}, "1298": {"name": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "type": "model", "succ": [1303, 3940, 3941, 3942, 3943, 3944, 3945]}, "1299": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "type": "model", "succ": [1298, 1302, 3946, 3947, 3948, 3949, 3950, 3951, 3952, 3953, 3954, 3955, 3956, 3957, 3958, 3959]}, "1300": {"name": "model.synthetix.fct_core_vault_collateral_base_mainnet", "type": "model", "succ": [3835, 3836, 3837, 3838, 3839, 3840, 3841, 3842, 3843, 3844]}, "1301": {"name": "model.synthetix.fct_core_market_updated_base_mainnet", "type": "model", "succ": [3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893]}, "1302": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "type": "model", "succ": [1307]}, "1303": {"name": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "type": "model", "succ": [1302, 1314, 3925, 3926, 3927, 3928, 3929, 3930, 3931, 3932, 3933, 3934, 3935, 3936, 3937, 3938, 3939]}, "1304": {"name": "model.synthetix.fct_pool_rewards_base_mainnet", "type": "model", "succ": [1299, 3845, 3846, 3847, 3848, 3849, 3850, 3851, 3852]}, "1305": {"name": "seed.synthetix.base_mainnet_reward_distributors", "type": "seed", "succ": [1304, 1382, 1383]}, "1306": {"name": "model.synthetix.fct_pool_issuance_base_mainnet", "type": "model", "succ": [1308, 3917, 3918, 3919, 3920, 3921, 3922, 3923, 3924]}, "1307": {"name": "model.synthetix.fct_core_apr_rewards_base_mainnet", "type": "model"}, "1308": {"name": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "type": "model", "succ": [1303, 3912, 3913, 3914, 3915, 3916]}, "1309": {"name": "model.synthetix.fct_pool_debt_base_mainnet", "type": "model", "succ": [1308, 1303, 1299, 3906, 3907, 3908, 3909, 3910, 3911]}, "1310": {"name": "model.synthetix.fct_core_account_delegation_base_mainnet", "type": "model", "succ": [3853, 3854, 3855, 3856, 3857, 3858, 3859]}, "1311": {"name": "model.synthetix.fct_prices_hourly_base_mainnet", "type": "model", "succ": [1299, 3992, 3993, 3994, 3995]}, "1312": {"name": "model.synthetix.fct_core_pool_delegation_base_mainnet", "type": "model", "succ": [3897, 3898, 3899, 3900]}, "1313": {"name": "model.synthetix.fct_core_pool_collateral_base_mainnet", "type": "model", "succ": [3894, 3895, 3896]}, "1314": {"name": "model.synthetix.fct_core_apr_base_mainnet", "type": "model", "succ": [3860, 3861, 3862, 3863, 3864, 3865, 3866, 3867, 3868, 3869, 3870, 3871, 3872, 3873, 3874, 3875, 3876, 3877, 3878, 3879, 3880, 3881]}, "1315": {"name": "model.synthetix.fct_perp_stats_daily_base_mainnet", "type": "model"}, "1316": {"name": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "type": "model", "succ": [1315]}, "1317": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "type": "model"}, "1318": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "type": "model", "succ": [1317]}, "1319": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "type": "model", "succ": [1316, 1323]}, "1320": {"name": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "type": "model"}, "1321": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "type": "model", "succ": [1320]}, "1322": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "type": "model", "succ": [1324]}, "1323": {"name": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "type": "model"}, "1324": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "type": "model"}, "1325": {"name": "model.synthetix.fct_spot_markets_base_mainnet", "type": "model", "succ": [3975, 3976, 3977, 3978, 3979]}, "1326": {"name": "model.synthetix.fct_synth_supply_base_mainnet", "type": "model", "succ": [3960, 3961, 3962, 3963, 3964]}, "1327": {"name": "model.synthetix.fct_spot_wrapper_base_mainnet", "type": "model", "succ": [1326, 3980, 3981, 3982, 3983, 3984, 3985, 3986, 3987]}, "1328": {"name": "model.synthetix.fct_spot_atomics_base_mainnet", "type": "model", "succ": [1326, 3965, 3966, 3967, 3968, 3969, 3970, 3971, 3972, 3973, 3974]}, "1329": {"name": "model.synthetix.fct_prices_base_mainnet", "type": "model", "succ": [1311, 3988, 3989, 3990, 3991]}, "1330": {"name": "seed.synthetix.base_mainnet_tokens", "type": "seed", "succ": [1329, 1390, 1391]}, "1331": {"name": "model.synthetix.fct_perp_market_history_base_sepolia", "type": "model", "succ": [1376, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, 4099, 4100]}, "1332": {"name": "model.synthetix.fct_perp_markets_base_sepolia", "type": "model", "succ": [1331, 1338, 1340, 1341, 4076, 4077, 4078, 4079, 4080, 4081]}, "1333": {"name": "model.synthetix.fct_perp_accounts_base_sepolia", "type": "model", "succ": [4118, 4119, 4120, 4121]}, "1334": {"name": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "type": "model", "succ": [4019, 4020, 4021, 4022, 4023, 4024, 4025, 4026, 4027, 4028, 4029, 4030]}, "1335": {"name": "model.synthetix.fct_perp_interest_charged_base_sepolia", "type": "model", "succ": [3996, 3997, 3998, 3999, 4000, 4001, 4002, 4003, 4004, 4005, 4006, 4007]}, "1336": {"name": "model.synthetix.fct_perp_liq_account_base_sepolia", "type": "model", "succ": [1365, 4114, 4115, 4116, 4117]}, "1337": {"name": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "type": "model", "succ": [4008, 4009, 4010, 4011, 4012, 4013, 4014, 4015, 4016, 4017, 4018]}, "1338": {"name": "model.synthetix.fct_perp_trades_base_sepolia", "type": "model", "succ": [1366, 1367, 1363, 1370, 1371, 4031, 4032, 4033, 4034, 4035, 4036, 4037, 4038, 4039, 4040, 4041, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049, 4050, 4051, 4052, 4053, 4054, 4055, 4056, 4057, 4058, 4059, 4060, 4061, 4062]}, "1339": {"name": "model.synthetix.fct_perp_pnl_base_sepolia", "type": "model", "succ": [4063, 4064, 4065]}, "1340": {"name": "model.synthetix.fct_perp_liq_position_base_sepolia", "type": "model", "succ": [1366, 1367, 4101, 4102, 4103, 4104, 4105, 4106, 4107, 4108, 4109, 4110, 4111, 4112, 4113]}, "1341": {"name": "model.synthetix.fct_perp_orders_base_sepolia", "type": "model", "succ": [4066, 4067, 4068, 4069, 4070, 4071, 4072, 4073, 4074, 4075]}, "1342": {"name": "model.synthetix.fct_buyback_daily_base_sepolia", "type": "model", "succ": [4122, 4123, 4124, 4125, 4126, 4127, 4128, 4129, 4130]}, "1343": {"name": "model.synthetix.fct_buyback_base_sepolia", "type": "model", "succ": [1342, 1344, 1376, 4140, 4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149]}, "1344": {"name": "model.synthetix.fct_buyback_hourly_base_sepolia", "type": "model", "succ": [4131, 4132, 4133, 4134, 4135, 4136, 4137, 4138, 4139]}, "1345": {"name": "model.synthetix.fct_pool_rewards_base_sepolia", "type": "model", "succ": [1349, 4150, 4151, 4152, 4153, 4154, 4155, 4156, 4157]}, "1346": {"name": "seed.synthetix.base_sepolia_reward_distributors", "type": "seed", "succ": [1345, 1384, 1385]}, "1347": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "type": "model", "succ": [1356]}, "1348": {"name": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "type": "model", "succ": [1347, 1359, 4230, 4231, 4232, 4233, 4234, 4235, 4236, 4237, 4238, 4239, 4240, 4241, 4242, 4243, 4244]}, "1349": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "type": "model", "succ": [1347, 1354, 4251, 4252, 4253, 4254, 4255, 4256, 4257, 4258, 4259, 4260, 4261, 4262, 4263, 4264]}, "1350": {"name": "model.synthetix.fct_core_pools_base_sepolia", "type": "model", "succ": [4206, 4207, 4208, 4209, 4210]}, "1351": {"name": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "type": "model", "succ": [1348, 4217, 4218, 4219, 4220, 4221]}, "1352": {"name": "model.synthetix.fct_pool_issuance_base_sepolia", "type": "model", "succ": [1351, 4222, 4223, 4224, 4225, 4226, 4227, 4228, 4229]}, "1353": {"name": "model.synthetix.fct_pool_debt_base_sepolia", "type": "model", "succ": [1351, 1349, 1348, 4211, 4212, 4213, 4214, 4215, 4216]}, "1354": {"name": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "type": "model", "succ": [1348, 4245, 4246, 4247, 4248, 4249, 4250]}, "1355": {"name": "model.synthetix.fct_core_pool_delegation_base_sepolia", "type": "model", "succ": [4202, 4203, 4204, 4205]}, "1356": {"name": "model.synthetix.fct_core_apr_rewards_base_sepolia", "type": "model"}, "1357": {"name": "model.synthetix.fct_prices_hourly_base_sepolia", "type": "model", "succ": [1349, 4297, 4298, 4299, 4300]}, "1358": {"name": "model.synthetix.fct_core_market_updated_base_sepolia", "type": "model", "succ": [4187, 4188, 4189, 4190, 4191, 4192, 4193, 4194, 4195, 4196, 4197, 4198]}, "1359": {"name": "model.synthetix.fct_core_apr_base_sepolia", "type": "model", "succ": [4165, 4166, 4167, 4168, 4169, 4170, 4171, 4172, 4173, 4174, 4175, 4176, 4177, 4178, 4179, 4180, 4181, 4182, 4183, 4184, 4185, 4186]}, "1360": {"name": "model.synthetix.fct_core_account_delegation_base_sepolia", "type": "model", "succ": [4158, 4159, 4160, 4161, 4162, 4163, 4164]}, "1361": {"name": "model.synthetix.fct_core_pool_collateral_base_sepolia", "type": "model", "succ": [4199, 4200, 4201]}, "1362": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "type": "model"}, "1363": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "type": "model", "succ": [1362]}, "1364": {"name": "model.synthetix.fct_perp_stats_daily_base_sepolia", "type": "model"}, "1365": {"name": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "type": "model", "succ": [1364]}, "1366": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "type": "model", "succ": [1368]}, "1367": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "type": "model", "succ": [1365, 1369]}, "1368": {"name": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "type": "model"}, "1369": {"name": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "type": "model"}, "1370": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "type": "model"}, "1371": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "type": "model", "succ": [1370]}, "1372": {"name": "model.synthetix.fct_synth_supply_base_sepolia", "type": "model", "succ": [4265, 4266, 4267, 4268, 4269]}, "1373": {"name": "model.synthetix.fct_spot_wrapper_base_sepolia", "type": "model", "succ": [1372, 4285, 4286, 4287, 4288, 4289, 4290, 4291, 4292]}, "1374": {"name": "model.synthetix.fct_spot_atomics_base_sepolia", "type": "model", "succ": [1372, 4270, 4271, 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279]}, "1375": {"name": "model.synthetix.fct_spot_markets_base_sepolia", "type": "model", "succ": [4280, 4281, 4282, 4283, 4284]}, "1376": {"name": "model.synthetix.fct_prices_base_sepolia", "type": "model", "succ": [1357, 4293, 4294, 4295, 4296]}, "1377": {"name": "seed.synthetix.base_sepolia_tokens", "type": "seed", "succ": [1376, 1392, 1393]}, "1378": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "type": "test"}, "1379": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "type": "test"}, "1380": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "type": "test"}, "1381": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "type": "test"}, "1382": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "type": "test"}, "1383": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "type": "test"}, "1384": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "type": "test"}, "1385": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "type": "test"}, "1386": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "type": "test"}, "1387": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "type": "test"}, "1388": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "type": "test"}, "1389": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "type": "test"}, "1390": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "type": "test"}, "1391": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "type": "test"}, "1392": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "type": "test"}, "1393": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "type": "test"}, "1394": {"name": "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "type": "test"}, "1395": {"name": "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09", "type": "test"}, "1396": {"name": "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "type": "test"}, "1397": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "type": "test"}, "1398": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "type": "test"}, "1399": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "type": "test"}, "1400": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "type": "test"}, "1401": {"name": "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820", "type": "test"}, "1402": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "type": "test"}, "1403": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "type": "test"}, "1404": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "type": "test"}, "1405": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "type": "test"}, "1406": {"name": "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "type": "test"}, "1407": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "type": "test"}, "1408": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "type": "test"}, "1409": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "type": "test"}, "1410": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "type": "test"}, "1411": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "type": "test"}, "1412": {"name": "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7", "type": "test"}, "1413": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "type": "test"}, "1414": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "type": "test"}, "1415": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "type": "test"}, "1416": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "type": "test"}, "1417": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "type": "test"}, "1418": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "type": "test"}, "1419": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "type": "test"}, "1420": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "type": "test"}, "1421": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "type": "test"}, "1422": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "type": "test"}, "1423": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "type": "test"}, "1424": {"name": "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec", "type": "test"}, "1425": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "type": "test"}, "1426": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "type": "test"}, "1427": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "type": "test"}, "1428": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "type": "test"}, "1429": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "type": "test"}, "1430": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "type": "test"}, "1431": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "type": "test"}, "1432": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "type": "test"}, "1433": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "type": "test"}, "1434": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "type": "test"}, "1435": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "type": "test"}, "1436": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "type": "test"}, "1437": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "type": "test"}, "1438": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "type": "test"}, "1439": {"name": "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "type": "test"}, "1440": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "type": "test"}, "1441": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "type": "test"}, "1442": {"name": "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5", "type": "test"}, "1443": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "type": "test"}, "1444": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "type": "test"}, "1445": {"name": "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "type": "test"}, "1446": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "type": "test"}, "1447": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "type": "test"}, "1448": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "type": "test"}, "1449": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "type": "test"}, "1450": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "type": "test"}, "1451": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "type": "test"}, "1452": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "type": "test"}, "1453": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "type": "test"}, "1454": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "type": "test"}, "1455": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "type": "test"}, "1456": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "type": "test"}, "1457": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "type": "test"}, "1458": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "type": "test"}, "1459": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "type": "test"}, "1460": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "type": "test"}, "1461": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "type": "test"}, "1462": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "type": "test"}, "1463": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "type": "test"}, "1464": {"name": "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c", "type": "test"}, "1465": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "type": "test"}, "1466": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "type": "test"}, "1467": {"name": "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "type": "test"}, "1468": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "type": "test"}, "1469": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "type": "test"}, "1470": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "type": "test"}, "1471": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "type": "test"}, "1472": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "type": "test"}, "1473": {"name": "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1", "type": "test"}, "1474": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "type": "test"}, "1475": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "type": "test"}, "1476": {"name": "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "type": "test"}, "1477": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "type": "test"}, "1478": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "type": "test"}, "1479": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "type": "test"}, "1480": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "type": "test"}, "1481": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "type": "test"}, "1482": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "type": "test"}, "1483": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "type": "test"}, "1484": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "type": "test"}, "1485": {"name": "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1", "type": "test"}, "1486": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "type": "test"}, "1487": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "type": "test"}, "1488": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "type": "test"}, "1489": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "type": "test"}, "1490": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "type": "test"}, "1491": {"name": "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "type": "test"}, "1492": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "type": "test"}, "1493": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "type": "test"}, "1494": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "type": "test"}, "1495": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "type": "test"}, "1496": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "type": "test"}, "1497": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "type": "test"}, "1498": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "type": "test"}, "1499": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "type": "test"}, "1500": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "type": "test"}, "1501": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "type": "test"}, "1502": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "type": "test"}, "1503": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "type": "test"}, "1504": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395", "type": "test"}, "1505": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "type": "test"}, "1506": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "type": "test"}, "1507": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "type": "test"}, "1508": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "type": "test"}, "1509": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "type": "test"}, "1510": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "type": "test"}, "1511": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "type": "test"}, "1512": {"name": "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "type": "test"}, "1513": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "type": "test"}, "1514": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "type": "test"}, "1515": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "type": "test"}, "1516": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "type": "test"}, "1517": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "type": "test"}, "1518": {"name": "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185", "type": "test"}, "1519": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "type": "test"}, "1520": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "type": "test"}, "1521": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "type": "test"}, "1522": {"name": "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "type": "test"}, "1523": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "type": "test"}, "1524": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "type": "test"}, "1525": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "type": "test"}, "1526": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "type": "test"}, "1527": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "type": "test"}, "1528": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "type": "test"}, "1529": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "type": "test"}, "1530": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "type": "test"}, "1531": {"name": "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "type": "test"}, "1532": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "type": "test"}, "1533": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "type": "test"}, "1534": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "type": "test"}, "1535": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "type": "test"}, "1536": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "type": "test"}, "1537": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "type": "test"}, "1538": {"name": "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c", "type": "test"}, "1539": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "type": "test"}, "1540": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "type": "test"}, "1541": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "type": "test"}, "1542": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "type": "test"}, "1543": {"name": "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1", "type": "test"}, "1544": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "type": "test"}, "1545": {"name": "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "type": "test"}, "1546": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "type": "test"}, "1547": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "type": "test"}, "1548": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "type": "test"}, "1549": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "type": "test"}, "1550": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "type": "test"}, "1551": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "type": "test"}, "1552": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "type": "test"}, "1553": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "type": "test"}, "1554": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "type": "test"}, "1555": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "type": "test"}, "1556": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "type": "test"}, "1557": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "type": "test"}, "1558": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "type": "test"}, "1559": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "type": "test"}, "1560": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "type": "test"}, "1561": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "type": "test"}, "1562": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "type": "test"}, "1563": {"name": "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "type": "test"}, "1564": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "type": "test"}, "1565": {"name": "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c", "type": "test"}, "1566": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "type": "test"}, "1567": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "type": "test"}, "1568": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "type": "test"}, "1569": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "type": "test"}, "1570": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "type": "test"}, "1571": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "type": "test"}, "1572": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "type": "test"}, "1573": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "type": "test"}, "1574": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "type": "test"}, "1575": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "type": "test"}, "1576": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "type": "test"}, "1577": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "type": "test"}, "1578": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "type": "test"}, "1579": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "type": "test"}, "1580": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "type": "test"}, "1581": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "type": "test"}, "1582": {"name": "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec", "type": "test"}, "1583": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "type": "test"}, "1584": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "type": "test"}, "1585": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "type": "test"}, "1586": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "type": "test"}, "1587": {"name": "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "type": "test"}, "1588": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "type": "test"}, "1589": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "type": "test"}, "1590": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "type": "test"}, "1591": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "type": "test"}, "1592": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "type": "test"}, "1593": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "type": "test"}, "1594": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "type": "test"}, "1595": {"name": "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "type": "test"}, "1596": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "type": "test"}, "1597": {"name": "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9", "type": "test"}, "1598": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "type": "test"}, "1599": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "type": "test"}, "1600": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "type": "test"}, "1601": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "type": "test"}, "1602": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "type": "test"}, "1603": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "type": "test"}, "1604": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "type": "test"}, "1605": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225", "type": "test"}, "1606": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "type": "test"}, "1607": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "type": "test"}, "1608": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "type": "test"}, "1609": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "type": "test"}, "1610": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "type": "test"}, "1611": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "type": "test"}, "1612": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "type": "test"}, "1613": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "type": "test"}, "1614": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "type": "test"}, "1615": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175", "type": "test"}, "1616": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "type": "test"}, "1617": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "type": "test"}, "1618": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "type": "test"}, "1619": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "type": "test"}, "1620": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "type": "test"}, "1621": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "type": "test"}, "1622": {"name": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "type": "test"}, "1623": {"name": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "type": "test"}, "1624": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "type": "test"}, "1625": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "type": "test"}, "1626": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "type": "test"}, "1627": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "type": "test"}, "1628": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "type": "test"}, "1629": {"name": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "type": "test"}, "1630": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "type": "test"}, "1631": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "type": "test"}, "1632": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "type": "test"}, "1633": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "type": "test"}, "1634": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "type": "test"}, "1635": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "type": "test"}, "1636": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "type": "test"}, "1637": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "type": "test"}, "1638": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "type": "test"}, "1639": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "type": "test"}, "1640": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "type": "test"}, "1641": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "type": "test"}, "1642": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "type": "test"}, "1643": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "type": "test"}, "1644": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "type": "test"}, "1645": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "type": "test"}, "1646": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "type": "test"}, "1647": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "type": "test"}, "1648": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "type": "test"}, "1649": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "type": "test"}, "1650": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "type": "test"}, "1651": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "type": "test"}, "1652": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "type": "test"}, "1653": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "type": "test"}, "1654": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "type": "test"}, "1655": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "type": "test"}, "1656": {"name": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "type": "test"}, "1657": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "type": "test"}, "1658": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "type": "test"}, "1659": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "type": "test"}, "1660": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "type": "test"}, "1661": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "type": "test"}, "1662": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "type": "test"}, "1663": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "type": "test"}, "1664": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "type": "test"}, "1665": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "type": "test"}, "1666": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "type": "test"}, "1667": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "type": "test"}, "1668": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "type": "test"}, "1669": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "type": "test"}, "1670": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "type": "test"}, "1671": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "type": "test"}, "1672": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "type": "test"}, "1673": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "type": "test"}, "1674": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "type": "test"}, "1675": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "type": "test"}, "1676": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "type": "test"}, "1677": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "type": "test"}, "1678": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "type": "test"}, "1679": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "type": "test"}, "1680": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "type": "test"}, "1681": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "type": "test"}, "1682": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "type": "test"}, "1683": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "type": "test"}, "1684": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "type": "test"}, "1685": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "type": "test"}, "1686": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "type": "test"}, "1687": {"name": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "type": "test"}, "1688": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "type": "test"}, "1689": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "type": "test"}, "1690": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "type": "test"}, "1691": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "type": "test"}, "1692": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "type": "test"}, "1693": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "type": "test"}, "1694": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "type": "test"}, "1695": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "type": "test"}, "1696": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "type": "test"}, "1697": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "type": "test"}, "1698": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "type": "test"}, "1699": {"name": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "type": "test"}, "1700": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "type": "test"}, "1701": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "type": "test"}, "1702": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "type": "test"}, "1703": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "type": "test"}, "1704": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "type": "test"}, "1705": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "type": "test"}, "1706": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "type": "test"}, "1707": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "type": "test"}, "1708": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "type": "test"}, "1709": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "type": "test"}, "1710": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "type": "test"}, "1711": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "type": "test"}, "1712": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "type": "test"}, "1713": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "type": "test"}, "1714": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "type": "test"}, "1715": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "type": "test"}, "1716": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "type": "test"}, "1717": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "type": "test"}, "1718": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f", "type": "test"}, "1719": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "type": "test"}, "1720": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "type": "test"}, "1721": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "type": "test"}, "1722": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "type": "test"}, "1723": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "type": "test"}, "1724": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "type": "test"}, "1725": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "type": "test"}, "1726": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "type": "test"}, "1727": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "type": "test"}, "1728": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "type": "test"}, "1729": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "type": "test"}, "1730": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "type": "test"}, "1731": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "type": "test"}, "1732": {"name": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "type": "test"}, "1733": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "type": "test"}, "1734": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "type": "test"}, "1735": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "type": "test"}, "1736": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "type": "test"}, "1737": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "type": "test"}, "1738": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "type": "test"}, "1739": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "type": "test"}, "1740": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "type": "test"}, "1741": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "type": "test"}, "1742": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "type": "test"}, "1743": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "type": "test"}, "1744": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "type": "test"}, "1745": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "type": "test"}, "1746": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "type": "test"}, "1747": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "type": "test"}, "1748": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "type": "test"}, "1749": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "type": "test"}, "1750": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "type": "test"}, "1751": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "type": "test"}, "1752": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "type": "test"}, "1753": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "type": "test"}, "1754": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "type": "test"}, "1755": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "type": "test"}, "1756": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "type": "test"}, "1757": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "type": "test"}, "1758": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "type": "test"}, "1759": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "type": "test"}, "1760": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "type": "test"}, "1761": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "type": "test"}, "1762": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "type": "test"}, "1763": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "type": "test"}, "1764": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "type": "test"}, "1765": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "type": "test"}, "1766": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "type": "test"}, "1767": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "type": "test"}, "1768": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "type": "test"}, "1769": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "type": "test"}, "1770": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "type": "test"}, "1771": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "type": "test"}, "1772": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "type": "test"}, "1773": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "type": "test"}, "1774": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "type": "test"}, "1775": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "type": "test"}, "1776": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "type": "test"}, "1777": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "type": "test"}, "1778": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "type": "test"}, "1779": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "type": "test"}, "1780": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "type": "test"}, "1781": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "type": "test"}, "1782": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "type": "test"}, "1783": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "type": "test"}, "1784": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "type": "test"}, "1785": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "type": "test"}, "1786": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "type": "test"}, "1787": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "type": "test"}, "1788": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "type": "test"}, "1789": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "type": "test"}, "1790": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "type": "test"}, "1791": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "type": "test"}, "1792": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "type": "test"}, "1793": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "type": "test"}, "1794": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "type": "test"}, "1795": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "type": "test"}, "1796": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "type": "test"}, "1797": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "type": "test"}, "1798": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "type": "test"}, "1799": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "type": "test"}, "1800": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "type": "test"}, "1801": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "type": "test"}, "1802": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "type": "test"}, "1803": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "type": "test"}, "1804": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "type": "test"}, "1805": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "type": "test"}, "1806": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "type": "test"}, "1807": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "type": "test"}, "1808": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "type": "test"}, "1809": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "type": "test"}, "1810": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "type": "test"}, "1811": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "type": "test"}, "1812": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "type": "test"}, "1813": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "type": "test"}, "1814": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "type": "test"}, "1815": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "type": "test"}, "1816": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "type": "test"}, "1817": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "type": "test"}, "1818": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "type": "test"}, "1819": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb", "type": "test"}, "1820": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "type": "test"}, "1821": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "type": "test"}, "1822": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "type": "test"}, "1823": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "type": "test"}, "1824": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "type": "test"}, "1825": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "type": "test"}, "1826": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "type": "test"}, "1827": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "type": "test"}, "1828": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "type": "test"}, "1829": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d", "type": "test"}, "1830": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "type": "test"}, "1831": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "type": "test"}, "1832": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "type": "test"}, "1833": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "type": "test"}, "1834": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "type": "test"}, "1835": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "type": "test"}, "1836": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "type": "test"}, "1837": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "type": "test"}, "1838": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "type": "test"}, "1839": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "type": "test"}, "1840": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "type": "test"}, "1841": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "type": "test"}, "1842": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "type": "test"}, "1843": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "type": "test"}, "1844": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "type": "test"}, "1845": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "type": "test"}, "1846": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "type": "test"}, "1847": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "type": "test"}, "1848": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "type": "test"}, "1849": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "type": "test"}, "1850": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "type": "test"}, "1851": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "type": "test"}, "1852": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "type": "test"}, "1853": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "type": "test"}, "1854": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "type": "test"}, "1855": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "type": "test"}, "1856": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "type": "test"}, "1857": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "type": "test"}, "1858": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "type": "test"}, "1859": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "type": "test"}, "1860": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "type": "test"}, "1861": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "type": "test"}, "1862": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "type": "test"}, "1863": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "type": "test"}, "1864": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "type": "test"}, "1865": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "type": "test"}, "1866": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "type": "test"}, "1867": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "type": "test"}, "1868": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "type": "test"}, "1869": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "type": "test"}, "1870": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "type": "test"}, "1871": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "type": "test"}, "1872": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "type": "test"}, "1873": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "type": "test"}, "1874": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "type": "test"}, "1875": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "type": "test"}, "1876": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "type": "test"}, "1877": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "type": "test"}, "1878": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "type": "test"}, "1879": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "type": "test"}, "1880": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "type": "test"}, "1881": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "type": "test"}, "1882": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "type": "test"}, "1883": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "type": "test"}, "1884": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "type": "test"}, "1885": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "type": "test"}, "1886": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "type": "test"}, "1887": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "type": "test"}, "1888": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "type": "test"}, "1889": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "type": "test"}, "1890": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "type": "test"}, "1891": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "type": "test"}, "1892": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "type": "test"}, "1893": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "type": "test"}, "1894": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "type": "test"}, "1895": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "type": "test"}, "1896": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "type": "test"}, "1897": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "type": "test"}, "1898": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "type": "test"}, "1899": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "type": "test"}, "1900": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "type": "test"}, "1901": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "type": "test"}, "1902": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "type": "test"}, "1903": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "type": "test"}, "1904": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "type": "test"}, "1905": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "type": "test"}, "1906": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "type": "test"}, "1907": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "type": "test"}, "1908": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "type": "test"}, "1909": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "type": "test"}, "1910": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "type": "test"}, "1911": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "type": "test"}, "1912": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "type": "test"}, "1913": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "type": "test"}, "1914": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "type": "test"}, "1915": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "type": "test"}, "1916": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "type": "test"}, "1917": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "type": "test"}, "1918": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "type": "test"}, "1919": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "type": "test"}, "1920": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "type": "test"}, "1921": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "type": "test"}, "1922": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "type": "test"}, "1923": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "type": "test"}, "1924": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "type": "test"}, "1925": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "type": "test"}, "1926": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "type": "test"}, "1927": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "type": "test"}, "1928": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "type": "test"}, "1929": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "type": "test"}, "1930": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "type": "test"}, "1931": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "type": "test"}, "1932": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "type": "test"}, "1933": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "type": "test"}, "1934": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "type": "test"}, "1935": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "type": "test"}, "1936": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "type": "test"}, "1937": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "type": "test"}, "1938": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "type": "test"}, "1939": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "type": "test"}, "1940": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "type": "test"}, "1941": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "type": "test"}, "1942": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "type": "test"}, "1943": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "type": "test"}, "1944": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "type": "test"}, "1945": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "type": "test"}, "1946": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "type": "test"}, "1947": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "type": "test"}, "1948": {"name": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "type": "test"}, "1949": {"name": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "type": "test"}, "1950": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "type": "test"}, "1951": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "type": "test"}, "1952": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "type": "test"}, "1953": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "type": "test"}, "1954": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "type": "test"}, "1955": {"name": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "type": "test"}, "1956": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "type": "test"}, "1957": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "type": "test"}, "1958": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "type": "test"}, "1959": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "type": "test"}, "1960": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "type": "test"}, "1961": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "type": "test"}, "1962": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "type": "test"}, "1963": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "type": "test"}, "1964": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "type": "test"}, "1965": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "type": "test"}, "1966": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "type": "test"}, "1967": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "type": "test"}, "1968": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "type": "test"}, "1969": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "type": "test"}, "1970": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "type": "test"}, "1971": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "type": "test"}, "1972": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "type": "test"}, "1973": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "type": "test"}, "1974": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "type": "test"}, "1975": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "type": "test"}, "1976": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "type": "test"}, "1977": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "type": "test"}, "1978": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "type": "test"}, "1979": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "type": "test"}, "1980": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "type": "test"}, "1981": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "type": "test"}, "1982": {"name": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "type": "test"}, "1983": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "type": "test"}, "1984": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "type": "test"}, "1985": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "type": "test"}, "1986": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "type": "test"}, "1987": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "type": "test"}, "1988": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "type": "test"}, "1989": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "type": "test"}, "1990": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "type": "test"}, "1991": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "type": "test"}, "1992": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "type": "test"}, "1993": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "type": "test"}, "1994": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "type": "test"}, "1995": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "type": "test"}, "1996": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "type": "test"}, "1997": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "type": "test"}, "1998": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "type": "test"}, "1999": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "type": "test"}, "2000": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "type": "test"}, "2001": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "type": "test"}, "2002": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "type": "test"}, "2003": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "type": "test"}, "2004": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "type": "test"}, "2005": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "type": "test"}, "2006": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "type": "test"}, "2007": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "type": "test"}, "2008": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "type": "test"}, "2009": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "type": "test"}, "2010": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "type": "test"}, "2011": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "type": "test"}, "2012": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "type": "test"}, "2013": {"name": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "type": "test"}, "2014": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "type": "test"}, "2015": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "type": "test"}, "2016": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "type": "test"}, "2017": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "type": "test"}, "2018": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "type": "test"}, "2019": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "type": "test"}, "2020": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "type": "test"}, "2021": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "type": "test"}, "2022": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "type": "test"}, "2023": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "type": "test"}, "2024": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "type": "test"}, "2025": {"name": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "type": "test"}, "2026": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "type": "test"}, "2027": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "type": "test"}, "2028": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "type": "test"}, "2029": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "type": "test"}, "2030": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "type": "test"}, "2031": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "type": "test"}, "2032": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "type": "test"}, "2033": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "type": "test"}, "2034": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "type": "test"}, "2035": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "type": "test"}, "2036": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "type": "test"}, "2037": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "type": "test"}, "2038": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "type": "test"}, "2039": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "type": "test"}, "2040": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "type": "test"}, "2041": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "type": "test"}, "2042": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "type": "test"}, "2043": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "type": "test"}, "2044": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f", "type": "test"}, "2045": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "type": "test"}, "2046": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "type": "test"}, "2047": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "type": "test"}, "2048": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "type": "test"}, "2049": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "type": "test"}, "2050": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "type": "test"}, "2051": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "type": "test"}, "2052": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "type": "test"}, "2053": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "type": "test"}, "2054": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "type": "test"}, "2055": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "type": "test"}, "2056": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "type": "test"}, "2057": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "type": "test"}, "2058": {"name": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "type": "test"}, "2059": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "type": "test"}, "2060": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "type": "test"}, "2061": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "type": "test"}, "2062": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "type": "test"}, "2063": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "type": "test"}, "2064": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "type": "test"}, "2065": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "type": "test"}, "2066": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "type": "test"}, "2067": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "type": "test"}, "2068": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "type": "test"}, "2069": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "type": "test"}, "2070": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "type": "test"}, "2071": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "type": "test"}, "2072": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "type": "test"}, "2073": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "type": "test"}, "2074": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "type": "test"}, "2075": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "type": "test"}, "2076": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "type": "test"}, "2077": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "type": "test"}, "2078": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "type": "test"}, "2079": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "type": "test"}, "2080": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "type": "test"}, "2081": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "type": "test"}, "2082": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "type": "test"}, "2083": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "type": "test"}, "2084": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "type": "test"}, "2085": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "type": "test"}, "2086": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "type": "test"}, "2087": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "type": "test"}, "2088": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "type": "test"}, "2089": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "type": "test"}, "2090": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "type": "test"}, "2091": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "type": "test"}, "2092": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "type": "test"}, "2093": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "type": "test"}, "2094": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "type": "test"}, "2095": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "type": "test"}, "2096": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "type": "test"}, "2097": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "type": "test"}, "2098": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "type": "test"}, "2099": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "type": "test"}, "2100": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "type": "test"}, "2101": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "type": "test"}, "2102": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "type": "test"}, "2103": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "type": "test"}, "2104": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "type": "test"}, "2105": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "type": "test"}, "2106": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "type": "test"}, "2107": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "type": "test"}, "2108": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "type": "test"}, "2109": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "type": "test"}, "2110": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "type": "test"}, "2111": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "type": "test"}, "2112": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "type": "test"}, "2113": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "type": "test"}, "2114": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "type": "test"}, "2115": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "type": "test"}, "2116": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "type": "test"}, "2117": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "type": "test"}, "2118": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "type": "test"}, "2119": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "type": "test"}, "2120": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "type": "test"}, "2121": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "type": "test"}, "2122": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "type": "test"}, "2123": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "type": "test"}, "2124": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "type": "test"}, "2125": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "type": "test"}, "2126": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "type": "test"}, "2127": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "type": "test"}, "2128": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "type": "test"}, "2129": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "type": "test"}, "2130": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "type": "test"}, "2131": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "type": "test"}, "2132": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "type": "test"}, "2133": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "type": "test"}, "2134": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "type": "test"}, "2135": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "type": "test"}, "2136": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "type": "test"}, "2137": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "type": "test"}, "2138": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "type": "test"}, "2139": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "type": "test"}, "2140": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "type": "test"}, "2141": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "type": "test"}, "2142": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "type": "test"}, "2143": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "type": "test"}, "2144": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "type": "test"}, "2145": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f", "type": "test"}, "2146": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "type": "test"}, "2147": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "type": "test"}, "2148": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "type": "test"}, "2149": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "type": "test"}, "2150": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "type": "test"}, "2151": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "type": "test"}, "2152": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "type": "test"}, "2153": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "type": "test"}, "2154": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "type": "test"}, "2155": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83", "type": "test"}, "2156": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "type": "test"}, "2157": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "type": "test"}, "2158": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "type": "test"}, "2159": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "type": "test"}, "2160": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "type": "test"}, "2161": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "type": "test"}, "2162": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "type": "test"}, "2163": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "type": "test"}, "2164": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "type": "test"}, "2165": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "type": "test"}, "2166": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "type": "test"}, "2167": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "type": "test"}, "2168": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "type": "test"}, "2169": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "type": "test"}, "2170": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "type": "test"}, "2171": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "type": "test"}, "2172": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "type": "test"}, "2173": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "type": "test"}, "2174": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "type": "test"}, "2175": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "type": "test"}, "2176": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "type": "test"}, "2177": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "type": "test"}, "2178": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "type": "test"}, "2179": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "type": "test"}, "2180": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "type": "test"}, "2181": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "type": "test"}, "2182": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "type": "test"}, "2183": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "type": "test"}, "2184": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "type": "test"}, "2185": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "type": "test"}, "2186": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "type": "test"}, "2187": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "type": "test"}, "2188": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "type": "test"}, "2189": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "type": "test"}, "2190": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "type": "test"}, "2191": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "type": "test"}, "2192": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "type": "test"}, "2193": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "type": "test"}, "2194": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "type": "test"}, "2195": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "type": "test"}, "2196": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "type": "test"}, "2197": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "type": "test"}, "2198": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "type": "test"}, "2199": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "type": "test"}, "2200": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "type": "test"}, "2201": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "type": "test"}, "2202": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "type": "test"}, "2203": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "type": "test"}, "2204": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "type": "test"}, "2205": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "type": "test"}, "2206": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "type": "test"}, "2207": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "type": "test"}, "2208": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "type": "test"}, "2209": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "type": "test"}, "2210": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "type": "test"}, "2211": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "type": "test"}, "2212": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "type": "test"}, "2213": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "type": "test"}, "2214": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "type": "test"}, "2215": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "type": "test"}, "2216": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "type": "test"}, "2217": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "type": "test"}, "2218": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "type": "test"}, "2219": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "type": "test"}, "2220": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "type": "test"}, "2221": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "type": "test"}, "2222": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "type": "test"}, "2223": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "type": "test"}, "2224": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "type": "test"}, "2225": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "type": "test"}, "2226": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "type": "test"}, "2227": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "type": "test"}, "2228": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "type": "test"}, "2229": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "type": "test"}, "2230": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "type": "test"}, "2231": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "type": "test"}, "2232": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "type": "test"}, "2233": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "type": "test"}, "2234": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "type": "test"}, "2235": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "type": "test"}, "2236": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "type": "test"}, "2237": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "type": "test"}, "2238": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "type": "test"}, "2239": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "type": "test"}, "2240": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "type": "test"}, "2241": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "type": "test"}, "2242": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "type": "test"}, "2243": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "type": "test"}, "2244": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "type": "test"}, "2245": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "type": "test"}, "2246": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "type": "test"}, "2247": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "type": "test"}, "2248": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "type": "test"}, "2249": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "type": "test"}, "2250": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "type": "test"}, "2251": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "type": "test"}, "2252": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "type": "test"}, "2253": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "type": "test"}, "2254": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "type": "test"}, "2255": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "type": "test"}, "2256": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "type": "test"}, "2257": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "type": "test"}, "2258": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "type": "test"}, "2259": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "type": "test"}, "2260": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "type": "test"}, "2261": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "type": "test"}, "2262": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "type": "test"}, "2263": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "type": "test"}, "2264": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "type": "test"}, "2265": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "type": "test"}, "2266": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "type": "test"}, "2267": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "type": "test"}, "2268": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "type": "test"}, "2269": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "type": "test"}, "2270": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "type": "test"}, "2271": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "type": "test"}, "2272": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "type": "test"}, "2273": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "type": "test"}, "2274": {"name": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "type": "test"}, "2275": {"name": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "type": "test"}, "2276": {"name": "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "type": "test"}, "2277": {"name": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "type": "test"}, "2278": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "type": "test"}, "2279": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "type": "test"}, "2280": {"name": "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "type": "test"}, "2281": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "type": "test"}, "2282": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "type": "test"}, "2283": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "type": "test"}, "2284": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "type": "test"}, "2285": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "type": "test"}, "2286": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "type": "test"}, "2287": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "type": "test"}, "2288": {"name": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "type": "test"}, "2289": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "type": "test"}, "2290": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "type": "test"}, "2291": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "type": "test"}, "2292": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "type": "test"}, "2293": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "type": "test"}, "2294": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "type": "test"}, "2295": {"name": "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "type": "test"}, "2296": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "type": "test"}, "2297": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "type": "test"}, "2298": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "type": "test"}, "2299": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "type": "test"}, "2300": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "type": "test"}, "2301": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "type": "test"}, "2302": {"name": "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "type": "test"}, "2303": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "type": "test"}, "2304": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "type": "test"}, "2305": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "type": "test"}, "2306": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "type": "test"}, "2307": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "type": "test"}, "2308": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "type": "test"}, "2309": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "type": "test"}, "2310": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "type": "test"}, "2311": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "type": "test"}, "2312": {"name": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "type": "test"}, "2313": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "type": "test"}, "2314": {"name": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "type": "test"}, "2315": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "type": "test"}, "2316": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "type": "test"}, "2317": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "type": "test"}, "2318": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "type": "test"}, "2319": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "type": "test"}, "2320": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "type": "test"}, "2321": {"name": "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "type": "test"}, "2322": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "type": "test"}, "2323": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "type": "test"}, "2324": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "type": "test"}, "2325": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "type": "test"}, "2326": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "type": "test"}, "2327": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "type": "test"}, "2328": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "type": "test"}, "2329": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "type": "test"}, "2330": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "type": "test"}, "2331": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "type": "test"}, "2332": {"name": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "type": "test"}, "2333": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "type": "test"}, "2334": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "type": "test"}, "2335": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "type": "test"}, "2336": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "type": "test"}, "2337": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "type": "test"}, "2338": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "type": "test"}, "2339": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "type": "test"}, "2340": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "type": "test"}, "2341": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "type": "test"}, "2342": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "type": "test"}, "2343": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "type": "test"}, "2344": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "type": "test"}, "2345": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "type": "test"}, "2346": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "type": "test"}, "2347": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "type": "test"}, "2348": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "type": "test"}, "2349": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "type": "test"}, "2350": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "type": "test"}, "2351": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "type": "test"}, "2352": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "type": "test"}, "2353": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "type": "test"}, "2354": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "type": "test"}, "2355": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "type": "test"}, "2356": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "type": "test"}, "2357": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "type": "test"}, "2358": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "type": "test"}, "2359": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "type": "test"}, "2360": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "type": "test"}, "2361": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "type": "test"}, "2362": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "type": "test"}, "2363": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "type": "test"}, "2364": {"name": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "type": "test"}, "2365": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "type": "test"}, "2366": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "type": "test"}, "2367": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "type": "test"}, "2368": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "type": "test"}, "2369": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "type": "test"}, "2370": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "type": "test"}, "2371": {"name": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "type": "test"}, "2372": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "type": "test"}, "2373": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "type": "test"}, "2374": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "type": "test"}, "2375": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "type": "test"}, "2376": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "type": "test"}, "2377": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "type": "test"}, "2378": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "type": "test"}, "2379": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "type": "test"}, "2380": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "type": "test"}, "2381": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "type": "test"}, "2382": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "type": "test"}, "2383": {"name": "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46", "type": "test"}, "2384": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "type": "test"}, "2385": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "type": "test"}, "2386": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "type": "test"}, "2387": {"name": "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "type": "test"}, "2388": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "type": "test"}, "2389": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "type": "test"}, "2390": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "type": "test"}, "2391": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "type": "test"}, "2392": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "type": "test"}, "2393": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "type": "test"}, "2394": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "type": "test"}, "2395": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "type": "test"}, "2396": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "type": "test"}, "2397": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "type": "test"}, "2398": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "type": "test"}, "2399": {"name": "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38", "type": "test"}, "2400": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "type": "test"}, "2401": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "type": "test"}, "2402": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "type": "test"}, "2403": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "type": "test"}, "2404": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "type": "test"}, "2405": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "type": "test"}, "2406": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "type": "test"}, "2407": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "type": "test"}, "2408": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "type": "test"}, "2409": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "type": "test"}, "2410": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "type": "test"}, "2411": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671", "type": "test"}, "2412": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "type": "test"}, "2413": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "type": "test"}, "2414": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "type": "test"}, "2415": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "type": "test"}, "2416": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "type": "test"}, "2417": {"name": "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8", "type": "test"}, "2418": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "type": "test"}, "2419": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "type": "test"}, "2420": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "type": "test"}, "2421": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "type": "test"}, "2422": {"name": "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "type": "test"}, "2423": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "type": "test"}, "2424": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "type": "test"}, "2425": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "type": "test"}, "2426": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "type": "test"}, "2427": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "type": "test"}, "2428": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "type": "test"}, "2429": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "type": "test"}, "2430": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "type": "test"}, "2431": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "type": "test"}, "2432": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "type": "test"}, "2433": {"name": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "type": "test"}, "2434": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "type": "test"}, "2435": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "type": "test"}, "2436": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "type": "test"}, "2437": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "type": "test"}, "2438": {"name": "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "type": "test"}, "2439": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "type": "test"}, "2440": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "type": "test"}, "2441": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "type": "test"}, "2442": {"name": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "type": "test"}, "2443": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "type": "test"}, "2444": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "type": "test"}, "2445": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "type": "test"}, "2446": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "type": "test"}, "2447": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "type": "test"}, "2448": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "type": "test"}, "2449": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "type": "test"}, "2450": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "type": "test"}, "2451": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "type": "test"}, "2452": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "type": "test"}, "2453": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "type": "test"}, "2454": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "type": "test"}, "2455": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "type": "test"}, "2456": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "type": "test"}, "2457": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "type": "test"}, "2458": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "type": "test"}, "2459": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "type": "test"}, "2460": {"name": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "type": "test"}, "2461": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "type": "test"}, "2462": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "type": "test"}, "2463": {"name": "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "type": "test"}, "2464": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "type": "test"}, "2465": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "type": "test"}, "2466": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "type": "test"}, "2467": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "type": "test"}, "2468": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "type": "test"}, "2469": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "type": "test"}, "2470": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "type": "test"}, "2471": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "type": "test"}, "2472": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "type": "test"}, "2473": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "type": "test"}, "2474": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "type": "test"}, "2475": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "type": "test"}, "2476": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "type": "test"}, "2477": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "type": "test"}, "2478": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "type": "test"}, "2479": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "type": "test"}, "2480": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "type": "test"}, "2481": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "type": "test"}, "2482": {"name": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "type": "test"}, "2483": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "type": "test"}, "2484": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "type": "test"}, "2485": {"name": "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "type": "test"}, "2486": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "type": "test"}, "2487": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "type": "test"}, "2488": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "type": "test"}, "2489": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "type": "test"}, "2490": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "type": "test"}, "2491": {"name": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "type": "test"}, "2492": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "type": "test"}, "2493": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "type": "test"}, "2494": {"name": "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "type": "test"}, "2495": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "type": "test"}, "2496": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "type": "test"}, "2497": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "type": "test"}, "2498": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "type": "test"}, "2499": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "type": "test"}, "2500": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "type": "test"}, "2501": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "type": "test"}, "2502": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "type": "test"}, "2503": {"name": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "type": "test"}, "2504": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "type": "test"}, "2505": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "type": "test"}, "2506": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "type": "test"}, "2507": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "type": "test"}, "2508": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "type": "test"}, "2509": {"name": "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "type": "test"}, "2510": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "type": "test"}, "2511": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "type": "test"}, "2512": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "type": "test"}, "2513": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "type": "test"}, "2514": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "type": "test"}, "2515": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "type": "test"}, "2516": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "type": "test"}, "2517": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "type": "test"}, "2518": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "type": "test"}, "2519": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "type": "test"}, "2520": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "type": "test"}, "2521": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "type": "test"}, "2522": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671", "type": "test"}, "2523": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "type": "test"}, "2524": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "type": "test"}, "2525": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "type": "test"}, "2526": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "type": "test"}, "2527": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "type": "test"}, "2528": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "type": "test"}, "2529": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "type": "test"}, "2530": {"name": "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "type": "test"}, "2531": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "type": "test"}, "2532": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "type": "test"}, "2533": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "type": "test"}, "2534": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "type": "test"}, "2535": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "type": "test"}, "2536": {"name": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "type": "test"}, "2537": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "type": "test"}, "2538": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "type": "test"}, "2539": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "type": "test"}, "2540": {"name": "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "type": "test"}, "2541": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "type": "test"}, "2542": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "type": "test"}, "2543": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "type": "test"}, "2544": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "type": "test"}, "2545": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "type": "test"}, "2546": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "type": "test"}, "2547": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "type": "test"}, "2548": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "type": "test"}, "2549": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "type": "test"}, "2550": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "type": "test"}, "2551": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "type": "test"}, "2552": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "type": "test"}, "2553": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "type": "test"}, "2554": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "type": "test"}, "2555": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "type": "test"}, "2556": {"name": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "type": "test"}, "2557": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "type": "test"}, "2558": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "type": "test"}, "2559": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "type": "test"}, "2560": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "type": "test"}, "2561": {"name": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "type": "test"}, "2562": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "type": "test"}, "2563": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "type": "test"}, "2564": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "type": "test"}, "2565": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "type": "test"}, "2566": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "type": "test"}, "2567": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "type": "test"}, "2568": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "type": "test"}, "2569": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "type": "test"}, "2570": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "type": "test"}, "2571": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "type": "test"}, "2572": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "type": "test"}, "2573": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "type": "test"}, "2574": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "type": "test"}, "2575": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "type": "test"}, "2576": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "type": "test"}, "2577": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "type": "test"}, "2578": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "type": "test"}, "2579": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "type": "test"}, "2580": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "type": "test"}, "2581": {"name": "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "type": "test"}, "2582": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "type": "test"}, "2583": {"name": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "type": "test"}, "2584": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "type": "test"}, "2585": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "type": "test"}, "2586": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "type": "test"}, "2587": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "type": "test"}, "2588": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "type": "test"}, "2589": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "type": "test"}, "2590": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "type": "test"}, "2591": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "type": "test"}, "2592": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "type": "test"}, "2593": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "type": "test"}, "2594": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "type": "test"}, "2595": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "type": "test"}, "2596": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "type": "test"}, "2597": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "type": "test"}, "2598": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "type": "test"}, "2599": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "type": "test"}, "2600": {"name": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "type": "test"}, "2601": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "type": "test"}, "2602": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "type": "test"}, "2603": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "type": "test"}, "2604": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "type": "test"}, "2605": {"name": "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "type": "test"}, "2606": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "type": "test"}, "2607": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "type": "test"}, "2608": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "type": "test"}, "2609": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "type": "test"}, "2610": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "type": "test"}, "2611": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "type": "test"}, "2612": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "type": "test"}, "2613": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "type": "test"}, "2614": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "type": "test"}, "2615": {"name": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "type": "test"}, "2616": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "type": "test"}, "2617": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "type": "test"}, "2618": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "type": "test"}, "2619": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "type": "test"}, "2620": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "type": "test"}, "2621": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "type": "test"}, "2622": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "type": "test"}, "2623": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d", "type": "test"}, "2624": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "type": "test"}, "2625": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "type": "test"}, "2626": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "type": "test"}, "2627": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "type": "test"}, "2628": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "type": "test"}, "2629": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "type": "test"}, "2630": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "type": "test"}, "2631": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "type": "test"}, "2632": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "type": "test"}, "2633": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3", "type": "test"}, "2634": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "type": "test"}, "2635": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "type": "test"}, "2636": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "type": "test"}, "2637": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "type": "test"}, "2638": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "type": "test"}, "2639": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "type": "test"}, "2640": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "type": "test"}, "2641": {"name": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "type": "test"}, "2642": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "type": "test"}, "2643": {"name": "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "type": "test"}, "2644": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "type": "test"}, "2645": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "type": "test"}, "2646": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "type": "test"}, "2647": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "type": "test"}, "2648": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "type": "test"}, "2649": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "type": "test"}, "2650": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "type": "test"}, "2651": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "type": "test"}, "2652": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "type": "test"}, "2653": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "type": "test"}, "2654": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "type": "test"}, "2655": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "type": "test"}, "2656": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "type": "test"}, "2657": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "type": "test"}, "2658": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "type": "test"}, "2659": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "type": "test"}, "2660": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "type": "test"}, "2661": {"name": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "type": "test"}, "2662": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "type": "test"}, "2663": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "type": "test"}, "2664": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "type": "test"}, "2665": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "type": "test"}, "2666": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "type": "test"}, "2667": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "type": "test"}, "2668": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "type": "test"}, "2669": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "type": "test"}, "2670": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "type": "test"}, "2671": {"name": "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "type": "test"}, "2672": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "type": "test"}, "2673": {"name": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "type": "test"}, "2674": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "type": "test"}, "2675": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "type": "test"}, "2676": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "type": "test"}, "2677": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "type": "test"}, "2678": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "type": "test"}, "2679": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "type": "test"}, "2680": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "type": "test"}, "2681": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "type": "test"}, "2682": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "type": "test"}, "2683": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "type": "test"}, "2684": {"name": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "type": "test"}, "2685": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "type": "test"}, "2686": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "type": "test"}, "2687": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "type": "test"}, "2688": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "type": "test"}, "2689": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "type": "test"}, "2690": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "type": "test"}, "2691": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "type": "test"}, "2692": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "type": "test"}, "2693": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "type": "test"}, "2694": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "type": "test"}, "2695": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "type": "test"}, "2696": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "type": "test"}, "2697": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "type": "test"}, "2698": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "type": "test"}, "2699": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "type": "test"}, "2700": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "type": "test"}, "2701": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "type": "test"}, "2702": {"name": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "type": "test"}, "2703": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "type": "test"}, "2704": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "type": "test"}, "2705": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "type": "test"}, "2706": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "type": "test"}, "2707": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "type": "test"}, "2708": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "type": "test"}, "2709": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "type": "test"}, "2710": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "type": "test"}, "2711": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "type": "test"}, "2712": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "type": "test"}, "2713": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "type": "test"}, "2714": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "type": "test"}, "2715": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "type": "test"}, "2716": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "type": "test"}, "2717": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "type": "test"}, "2718": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "type": "test"}, "2719": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "type": "test"}, "2720": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "type": "test"}, "2721": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "type": "test"}, "2722": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "type": "test"}, "2723": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "type": "test"}, "2724": {"name": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "type": "test"}, "2725": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "type": "test"}, "2726": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "type": "test"}, "2727": {"name": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "type": "test"}, "2728": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "type": "test"}, "2729": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "type": "test"}, "2730": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "type": "test"}, "2731": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "type": "test"}, "2732": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "type": "test"}, "2733": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "type": "test"}, "2734": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "type": "test"}, "2735": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "type": "test"}, "2736": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "type": "test"}, "2737": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "type": "test"}, "2738": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "type": "test"}, "2739": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "type": "test"}, "2740": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "type": "test"}, "2741": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "type": "test"}, "2742": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "type": "test"}, "2743": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "type": "test"}, "2744": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "type": "test"}, "2745": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "type": "test"}, "2746": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "type": "test"}, "2747": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "type": "test"}, "2748": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "type": "test"}, "2749": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "type": "test"}, "2750": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "type": "test"}, "2751": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "type": "test"}, "2752": {"name": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "type": "test"}, "2753": {"name": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "type": "test"}, "2754": {"name": "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "type": "test"}, "2755": {"name": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "type": "test"}, "2756": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "type": "test"}, "2757": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "type": "test"}, "2758": {"name": "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "type": "test"}, "2759": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "type": "test"}, "2760": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "type": "test"}, "2761": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "type": "test"}, "2762": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "type": "test"}, "2763": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "type": "test"}, "2764": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "type": "test"}, "2765": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "type": "test"}, "2766": {"name": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "type": "test"}, "2767": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "type": "test"}, "2768": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "type": "test"}, "2769": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "type": "test"}, "2770": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "type": "test"}, "2771": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "type": "test"}, "2772": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "type": "test"}, "2773": {"name": "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "type": "test"}, "2774": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "type": "test"}, "2775": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "type": "test"}, "2776": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "type": "test"}, "2777": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "type": "test"}, "2778": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "type": "test"}, "2779": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "type": "test"}, "2780": {"name": "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "type": "test"}, "2781": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "type": "test"}, "2782": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "type": "test"}, "2783": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "type": "test"}, "2784": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "type": "test"}, "2785": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "type": "test"}, "2786": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "type": "test"}, "2787": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "type": "test"}, "2788": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "type": "test"}, "2789": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "type": "test"}, "2790": {"name": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "type": "test"}, "2791": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "type": "test"}, "2792": {"name": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "type": "test"}, "2793": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "type": "test"}, "2794": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "type": "test"}, "2795": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "type": "test"}, "2796": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "type": "test"}, "2797": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "type": "test"}, "2798": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "type": "test"}, "2799": {"name": "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "type": "test"}, "2800": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "type": "test"}, "2801": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "type": "test"}, "2802": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "type": "test"}, "2803": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "type": "test"}, "2804": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "type": "test"}, "2805": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "type": "test"}, "2806": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "type": "test"}, "2807": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "type": "test"}, "2808": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "type": "test"}, "2809": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "type": "test"}, "2810": {"name": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "type": "test"}, "2811": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "type": "test"}, "2812": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "type": "test"}, "2813": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "type": "test"}, "2814": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "type": "test"}, "2815": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "type": "test"}, "2816": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "type": "test"}, "2817": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "type": "test"}, "2818": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "type": "test"}, "2819": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "type": "test"}, "2820": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "type": "test"}, "2821": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "type": "test"}, "2822": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "type": "test"}, "2823": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "type": "test"}, "2824": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "type": "test"}, "2825": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "type": "test"}, "2826": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "type": "test"}, "2827": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "type": "test"}, "2828": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "type": "test"}, "2829": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "type": "test"}, "2830": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "type": "test"}, "2831": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "type": "test"}, "2832": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "type": "test"}, "2833": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "type": "test"}, "2834": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "type": "test"}, "2835": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "type": "test"}, "2836": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "type": "test"}, "2837": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "type": "test"}, "2838": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "type": "test"}, "2839": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "type": "test"}, "2840": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "type": "test"}, "2841": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "type": "test"}, "2842": {"name": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "type": "test"}, "2843": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "type": "test"}, "2844": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "type": "test"}, "2845": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "type": "test"}, "2846": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "type": "test"}, "2847": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "type": "test"}, "2848": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "type": "test"}, "2849": {"name": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "type": "test"}, "2850": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "type": "test"}, "2851": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "type": "test"}, "2852": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "type": "test"}, "2853": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "type": "test"}, "2854": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "type": "test"}, "2855": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "type": "test"}, "2856": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "type": "test"}, "2857": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "type": "test"}, "2858": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "type": "test"}, "2859": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "type": "test"}, "2860": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "type": "test"}, "2861": {"name": "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3", "type": "test"}, "2862": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "type": "test"}, "2863": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "type": "test"}, "2864": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "type": "test"}, "2865": {"name": "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "type": "test"}, "2866": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "type": "test"}, "2867": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "type": "test"}, "2868": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "type": "test"}, "2869": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "type": "test"}, "2870": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "type": "test"}, "2871": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "type": "test"}, "2872": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "type": "test"}, "2873": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "type": "test"}, "2874": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "type": "test"}, "2875": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "type": "test"}, "2876": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "type": "test"}, "2877": {"name": "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d", "type": "test"}, "2878": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "type": "test"}, "2879": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "type": "test"}, "2880": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "type": "test"}, "2881": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "type": "test"}, "2882": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "type": "test"}, "2883": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "type": "test"}, "2884": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "type": "test"}, "2885": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "type": "test"}, "2886": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "type": "test"}, "2887": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "type": "test"}, "2888": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "type": "test"}, "2889": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a", "type": "test"}, "2890": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "type": "test"}, "2891": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "type": "test"}, "2892": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "type": "test"}, "2893": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "type": "test"}, "2894": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "type": "test"}, "2895": {"name": "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e", "type": "test"}, "2896": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "type": "test"}, "2897": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "type": "test"}, "2898": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "type": "test"}, "2899": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "type": "test"}, "2900": {"name": "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "type": "test"}, "2901": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "type": "test"}, "2902": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "type": "test"}, "2903": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "type": "test"}, "2904": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "type": "test"}, "2905": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "type": "test"}, "2906": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "type": "test"}, "2907": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "type": "test"}, "2908": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "type": "test"}, "2909": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "type": "test"}, "2910": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "type": "test"}, "2911": {"name": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "type": "test"}, "2912": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "type": "test"}, "2913": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "type": "test"}, "2914": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "type": "test"}, "2915": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "type": "test"}, "2916": {"name": "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "type": "test"}, "2917": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "type": "test"}, "2918": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "type": "test"}, "2919": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "type": "test"}, "2920": {"name": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "type": "test"}, "2921": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "type": "test"}, "2922": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "type": "test"}, "2923": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "type": "test"}, "2924": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "type": "test"}, "2925": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "type": "test"}, "2926": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "type": "test"}, "2927": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "type": "test"}, "2928": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "type": "test"}, "2929": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "type": "test"}, "2930": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "type": "test"}, "2931": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "type": "test"}, "2932": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "type": "test"}, "2933": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "type": "test"}, "2934": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "type": "test"}, "2935": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "type": "test"}, "2936": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "type": "test"}, "2937": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "type": "test"}, "2938": {"name": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "type": "test"}, "2939": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "type": "test"}, "2940": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "type": "test"}, "2941": {"name": "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "type": "test"}, "2942": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "type": "test"}, "2943": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "type": "test"}, "2944": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "type": "test"}, "2945": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "type": "test"}, "2946": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "type": "test"}, "2947": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "type": "test"}, "2948": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "type": "test"}, "2949": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "type": "test"}, "2950": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "type": "test"}, "2951": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "type": "test"}, "2952": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "type": "test"}, "2953": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "type": "test"}, "2954": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "type": "test"}, "2955": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "type": "test"}, "2956": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "type": "test"}, "2957": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "type": "test"}, "2958": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "type": "test"}, "2959": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "type": "test"}, "2960": {"name": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "type": "test"}, "2961": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "type": "test"}, "2962": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "type": "test"}, "2963": {"name": "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "type": "test"}, "2964": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "type": "test"}, "2965": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "type": "test"}, "2966": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "type": "test"}, "2967": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "type": "test"}, "2968": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "type": "test"}, "2969": {"name": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "type": "test"}, "2970": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "type": "test"}, "2971": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "type": "test"}, "2972": {"name": "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "type": "test"}, "2973": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "type": "test"}, "2974": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "type": "test"}, "2975": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "type": "test"}, "2976": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "type": "test"}, "2977": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "type": "test"}, "2978": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "type": "test"}, "2979": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "type": "test"}, "2980": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "type": "test"}, "2981": {"name": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "type": "test"}, "2982": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "type": "test"}, "2983": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "type": "test"}, "2984": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "type": "test"}, "2985": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "type": "test"}, "2986": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "type": "test"}, "2987": {"name": "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "type": "test"}, "2988": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "type": "test"}, "2989": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "type": "test"}, "2990": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "type": "test"}, "2991": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "type": "test"}, "2992": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "type": "test"}, "2993": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "type": "test"}, "2994": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "type": "test"}, "2995": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "type": "test"}, "2996": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "type": "test"}, "2997": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "type": "test"}, "2998": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "type": "test"}, "2999": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "type": "test"}, "3000": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a", "type": "test"}, "3001": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "type": "test"}, "3002": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "type": "test"}, "3003": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "type": "test"}, "3004": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "type": "test"}, "3005": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "type": "test"}, "3006": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "type": "test"}, "3007": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "type": "test"}, "3008": {"name": "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "type": "test"}, "3009": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "type": "test"}, "3010": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "type": "test"}, "3011": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "type": "test"}, "3012": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "type": "test"}, "3013": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "type": "test"}, "3014": {"name": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "type": "test"}, "3015": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "type": "test"}, "3016": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "type": "test"}, "3017": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "type": "test"}, "3018": {"name": "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "type": "test"}, "3019": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "type": "test"}, "3020": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "type": "test"}, "3021": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "type": "test"}, "3022": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "type": "test"}, "3023": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "type": "test"}, "3024": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "type": "test"}, "3025": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "type": "test"}, "3026": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "type": "test"}, "3027": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "type": "test"}, "3028": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "type": "test"}, "3029": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "type": "test"}, "3030": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "type": "test"}, "3031": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "type": "test"}, "3032": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "type": "test"}, "3033": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "type": "test"}, "3034": {"name": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "type": "test"}, "3035": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "type": "test"}, "3036": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "type": "test"}, "3037": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "type": "test"}, "3038": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "type": "test"}, "3039": {"name": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "type": "test"}, "3040": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "type": "test"}, "3041": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "type": "test"}, "3042": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "type": "test"}, "3043": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "type": "test"}, "3044": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "type": "test"}, "3045": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "type": "test"}, "3046": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "type": "test"}, "3047": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "type": "test"}, "3048": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "type": "test"}, "3049": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "type": "test"}, "3050": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "type": "test"}, "3051": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "type": "test"}, "3052": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "type": "test"}, "3053": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "type": "test"}, "3054": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "type": "test"}, "3055": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "type": "test"}, "3056": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "type": "test"}, "3057": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "type": "test"}, "3058": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "type": "test"}, "3059": {"name": "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "type": "test"}, "3060": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "type": "test"}, "3061": {"name": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "type": "test"}, "3062": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "type": "test"}, "3063": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "type": "test"}, "3064": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "type": "test"}, "3065": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "type": "test"}, "3066": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "type": "test"}, "3067": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "type": "test"}, "3068": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "type": "test"}, "3069": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "type": "test"}, "3070": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "type": "test"}, "3071": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "type": "test"}, "3072": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "type": "test"}, "3073": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "type": "test"}, "3074": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "type": "test"}, "3075": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "type": "test"}, "3076": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "type": "test"}, "3077": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "type": "test"}, "3078": {"name": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "type": "test"}, "3079": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "type": "test"}, "3080": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "type": "test"}, "3081": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "type": "test"}, "3082": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "type": "test"}, "3083": {"name": "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "type": "test"}, "3084": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "type": "test"}, "3085": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "type": "test"}, "3086": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "type": "test"}, "3087": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "type": "test"}, "3088": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "type": "test"}, "3089": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "type": "test"}, "3090": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "type": "test"}, "3091": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "type": "test"}, "3092": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "type": "test"}, "3093": {"name": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "type": "test"}, "3094": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "type": "test"}, "3095": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "type": "test"}, "3096": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "type": "test"}, "3097": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "type": "test"}, "3098": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "type": "test"}, "3099": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "type": "test"}, "3100": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "type": "test"}, "3101": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2", "type": "test"}, "3102": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "type": "test"}, "3103": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "type": "test"}, "3104": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "type": "test"}, "3105": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "type": "test"}, "3106": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "type": "test"}, "3107": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "type": "test"}, "3108": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "type": "test"}, "3109": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "type": "test"}, "3110": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "type": "test"}, "3111": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5", "type": "test"}, "3112": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "type": "test"}, "3113": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "type": "test"}, "3114": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "type": "test"}, "3115": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "type": "test"}, "3116": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "type": "test"}, "3117": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "type": "test"}, "3118": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "type": "test"}, "3119": {"name": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "type": "test"}, "3120": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "type": "test"}, "3121": {"name": "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "type": "test"}, "3122": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "type": "test"}, "3123": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "type": "test"}, "3124": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "type": "test"}, "3125": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "type": "test"}, "3126": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "type": "test"}, "3127": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "type": "test"}, "3128": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "type": "test"}, "3129": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "type": "test"}, "3130": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "type": "test"}, "3131": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "type": "test"}, "3132": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "type": "test"}, "3133": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "type": "test"}, "3134": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "type": "test"}, "3135": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "type": "test"}, "3136": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "type": "test"}, "3137": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "type": "test"}, "3138": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "type": "test"}, "3139": {"name": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "type": "test"}, "3140": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "type": "test"}, "3141": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "type": "test"}, "3142": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "type": "test"}, "3143": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "type": "test"}, "3144": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "type": "test"}, "3145": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "type": "test"}, "3146": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "type": "test"}, "3147": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "type": "test"}, "3148": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "type": "test"}, "3149": {"name": "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "type": "test"}, "3150": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "type": "test"}, "3151": {"name": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "type": "test"}, "3152": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "type": "test"}, "3153": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "type": "test"}, "3154": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "type": "test"}, "3155": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "type": "test"}, "3156": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "type": "test"}, "3157": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "type": "test"}, "3158": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "type": "test"}, "3159": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "type": "test"}, "3160": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "type": "test"}, "3161": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "type": "test"}, "3162": {"name": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "type": "test"}, "3163": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "type": "test"}, "3164": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "type": "test"}, "3165": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "type": "test"}, "3166": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "type": "test"}, "3167": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "type": "test"}, "3168": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "type": "test"}, "3169": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "type": "test"}, "3170": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "type": "test"}, "3171": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "type": "test"}, "3172": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "type": "test"}, "3173": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "type": "test"}, "3174": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "type": "test"}, "3175": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "type": "test"}, "3176": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "type": "test"}, "3177": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "type": "test"}, "3178": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "type": "test"}, "3179": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "type": "test"}, "3180": {"name": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "type": "test"}, "3181": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "type": "test"}, "3182": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "type": "test"}, "3183": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "type": "test"}, "3184": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "type": "test"}, "3185": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "type": "test"}, "3186": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "type": "test"}, "3187": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "type": "test"}, "3188": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "type": "test"}, "3189": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "type": "test"}, "3190": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "type": "test"}, "3191": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "type": "test"}, "3192": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "type": "test"}, "3193": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "type": "test"}, "3194": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "type": "test"}, "3195": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "type": "test"}, "3196": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "type": "test"}, "3197": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "type": "test"}, "3198": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "type": "test"}, "3199": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "type": "test"}, "3200": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "type": "test"}, "3201": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "type": "test"}, "3202": {"name": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "type": "test"}, "3203": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "type": "test"}, "3204": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "type": "test"}, "3205": {"name": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "type": "test"}, "3206": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "type": "test"}, "3207": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "type": "test"}, "3208": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "type": "test"}, "3209": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "type": "test"}, "3210": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "type": "test"}, "3211": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "type": "test"}, "3212": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "type": "test"}, "3213": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "type": "test"}, "3214": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "type": "test"}, "3215": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "type": "test"}, "3216": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "type": "test"}, "3217": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "type": "test"}, "3218": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "type": "test"}, "3219": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "type": "test"}, "3220": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "type": "test"}, "3221": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "type": "test"}, "3222": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "type": "test"}, "3223": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "type": "test"}, "3224": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "type": "test"}, "3225": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "type": "test"}, "3226": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "type": "test"}, "3227": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "type": "test"}, "3228": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "type": "test"}, "3229": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "type": "test"}, "3230": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a", "type": "test"}, "3231": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "type": "test"}, "3232": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "type": "test"}, "3233": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "type": "test"}, "3234": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "type": "test"}, "3235": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "type": "test"}, "3236": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "type": "test"}, "3237": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "type": "test"}, "3238": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd", "type": "test"}, "3239": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "type": "test"}, "3240": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "type": "test"}, "3241": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "type": "test"}, "3242": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "type": "test"}, "3243": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "type": "test"}, "3244": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "type": "test"}, "3245": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f", "type": "test"}, "3246": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "type": "test"}, "3247": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "type": "test"}, "3248": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "type": "test"}, "3249": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "type": "test"}, "3250": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "type": "test"}, "3251": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "type": "test"}, "3252": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "type": "test"}, "3253": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "type": "test"}, "3254": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "type": "test"}, "3255": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "type": "test"}, "3256": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "type": "test"}, "3257": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "type": "test"}, "3258": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "type": "test"}, "3259": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "type": "test"}, "3260": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "type": "test"}, "3261": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "type": "test"}, "3262": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "type": "test"}, "3263": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "type": "test"}, "3264": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "type": "test"}, "3265": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "type": "test"}, "3266": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "type": "test"}, "3267": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "type": "test"}, "3268": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "type": "test"}, "3269": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "type": "test"}, "3270": {"name": "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9", "type": "test"}, "3271": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "type": "test"}, "3272": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "type": "test"}, "3273": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "type": "test"}, "3274": {"name": "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "type": "test"}, "3275": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "type": "test"}, "3276": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "type": "test"}, "3277": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "type": "test"}, "3278": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "type": "test"}, "3279": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "type": "test"}, "3280": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "type": "test"}, "3281": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04", "type": "test"}, "3282": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "type": "test"}, "3283": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "type": "test"}, "3284": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a", "type": "test"}, "3285": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "type": "test"}, "3286": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "type": "test"}, "3287": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "type": "test"}, "3288": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "type": "test"}, "3289": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "type": "test"}, "3290": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "type": "test"}, "3291": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "type": "test"}, "3292": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75", "type": "test"}, "3293": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28", "type": "test"}, "3294": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "type": "test"}, "3295": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "type": "test"}, "3296": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "type": "test"}, "3297": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "type": "test"}, "3298": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "type": "test"}, "3299": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266", "type": "test"}, "3300": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "type": "test"}, "3301": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "type": "test"}, "3302": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "type": "test"}, "3303": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "type": "test"}, "3304": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981", "type": "test"}, "3305": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "type": "test"}, "3306": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "type": "test"}, "3307": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "type": "test"}, "3308": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "type": "test"}, "3309": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "type": "test"}, "3310": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "type": "test"}, "3311": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "type": "test"}, "3312": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8", "type": "test"}, "3313": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "type": "test"}, "3314": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "type": "test"}, "3315": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "type": "test"}, "3316": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "type": "test"}, "3317": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "type": "test"}, "3318": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "type": "test"}, "3319": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "type": "test"}, "3320": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "type": "test"}, "3321": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "type": "test"}, "3322": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "type": "test"}, "3323": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "type": "test"}, "3324": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "type": "test"}, "3325": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "type": "test"}, "3326": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "type": "test"}, "3327": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "type": "test"}, "3328": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "type": "test"}, "3329": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f", "type": "test"}, "3330": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "type": "test"}, "3331": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "type": "test"}, "3332": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "type": "test"}, "3333": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "type": "test"}, "3334": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "type": "test"}, "3335": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6", "type": "test"}, "3336": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "type": "test"}, "3337": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "type": "test"}, "3338": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "type": "test"}, "3339": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "type": "test"}, "3340": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "type": "test"}, "3341": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "type": "test"}, "3342": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "type": "test"}, "3343": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "type": "test"}, "3344": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "type": "test"}, "3345": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "type": "test"}, "3346": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "type": "test"}, "3347": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "type": "test"}, "3348": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "type": "test"}, "3349": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac", "type": "test"}, "3350": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "type": "test"}, "3351": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "type": "test"}, "3352": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "type": "test"}, "3353": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "type": "test"}, "3354": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "type": "test"}, "3355": {"name": "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "type": "test"}, "3356": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "type": "test"}, "3357": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "type": "test"}, "3358": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "type": "test"}, "3359": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "type": "test"}, "3360": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "type": "test"}, "3361": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0", "type": "test"}, "3362": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "type": "test"}, "3363": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "type": "test"}, "3364": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "type": "test"}, "3365": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "type": "test"}, "3366": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "type": "test"}, "3367": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d", "type": "test"}, "3368": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "type": "test"}, "3369": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "type": "test"}, "3370": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "type": "test"}, "3371": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404", "type": "test"}, "3372": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "type": "test"}, "3373": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "type": "test"}, "3374": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "type": "test"}, "3375": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad", "type": "test"}, "3376": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "type": "test"}, "3377": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "type": "test"}, "3378": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "type": "test"}, "3379": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "type": "test"}, "3380": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "type": "test"}, "3381": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "type": "test"}, "3382": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "type": "test"}, "3383": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f", "type": "test"}, "3384": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "type": "test"}, "3385": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "type": "test"}, "3386": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "type": "test"}, "3387": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "type": "test"}, "3388": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "type": "test"}, "3389": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "type": "test"}, "3390": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304", "type": "test"}, "3391": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "type": "test"}, "3392": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "type": "test"}, "3393": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "type": "test"}, "3394": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "type": "test"}, "3395": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "type": "test"}, "3396": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "type": "test"}, "3397": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "type": "test"}, "3398": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "type": "test"}, "3399": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "type": "test"}, "3400": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "type": "test"}, "3401": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "type": "test"}, "3402": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "type": "test"}, "3403": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "type": "test"}, "3404": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "type": "test"}, "3405": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "type": "test"}, "3406": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "type": "test"}, "3407": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "type": "test"}, "3408": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "type": "test"}, "3409": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "type": "test"}, "3410": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "type": "test"}, "3411": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "type": "test"}, "3412": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "type": "test"}, "3413": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "type": "test"}, "3414": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c", "type": "test"}, "3415": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "type": "test"}, "3416": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "type": "test"}, "3417": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "type": "test"}, "3418": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "type": "test"}, "3419": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "type": "test"}, "3420": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "type": "test"}, "3421": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "type": "test"}, "3422": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "type": "test"}, "3423": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "type": "test"}, "3424": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "type": "test"}, "3425": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3", "type": "test"}, "3426": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "type": "test"}, "3427": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "type": "test"}, "3428": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438", "type": "test"}, "3429": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "type": "test"}, "3430": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "type": "test"}, "3431": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "type": "test"}, "3432": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "type": "test"}, "3433": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "type": "test"}, "3434": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "type": "test"}, "3435": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "type": "test"}, "3436": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96", "type": "test"}, "3437": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c", "type": "test"}, "3438": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "type": "test"}, "3439": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "type": "test"}, "3440": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "type": "test"}, "3441": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "type": "test"}, "3442": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "type": "test"}, "3443": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e", "type": "test"}, "3444": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "type": "test"}, "3445": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "type": "test"}, "3446": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "type": "test"}, "3447": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "type": "test"}, "3448": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c", "type": "test"}, "3449": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "type": "test"}, "3450": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "type": "test"}, "3451": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "type": "test"}, "3452": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "type": "test"}, "3453": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "type": "test"}, "3454": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "type": "test"}, "3455": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "type": "test"}, "3456": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc", "type": "test"}, "3457": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "type": "test"}, "3458": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "type": "test"}, "3459": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "type": "test"}, "3460": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "type": "test"}, "3461": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "type": "test"}, "3462": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "type": "test"}, "3463": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "type": "test"}, "3464": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "type": "test"}, "3465": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "type": "test"}, "3466": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "type": "test"}, "3467": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "type": "test"}, "3468": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "type": "test"}, "3469": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "type": "test"}, "3470": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "type": "test"}, "3471": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "type": "test"}, "3472": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938", "type": "test"}, "3473": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "type": "test"}, "3474": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "type": "test"}, "3475": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "type": "test"}, "3476": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "type": "test"}, "3477": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "type": "test"}, "3478": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0", "type": "test"}, "3479": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "type": "test"}, "3480": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "type": "test"}, "3481": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "type": "test"}, "3482": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "type": "test"}, "3483": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "type": "test"}, "3484": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3", "type": "test"}, "3485": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7", "type": "test"}, "3486": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670", "type": "test"}, "3487": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1", "type": "test"}, "3488": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56", "type": "test"}, "3489": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c", "type": "test"}, "3490": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "type": "test"}, "3491": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "type": "test"}, "3492": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65", "type": "test"}, "3493": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "type": "test"}, "3494": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "type": "test"}, "3495": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "type": "test"}, "3496": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "type": "test"}, "3497": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "type": "test"}, "3498": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee", "type": "test"}, "3499": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "type": "test"}, "3500": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "type": "test"}, "3501": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "type": "test"}, "3502": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "type": "test"}, "3503": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "type": "test"}, "3504": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "type": "test"}, "3505": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "type": "test"}, "3506": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "type": "test"}, "3507": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "type": "test"}, "3508": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "type": "test"}, "3509": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "type": "test"}, "3510": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "type": "test"}, "3511": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198", "type": "test"}, "3512": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "type": "test"}, "3513": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636", "type": "test"}, "3514": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "type": "test"}, "3515": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "type": "test"}, "3516": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "type": "test"}, "3517": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "type": "test"}, "3518": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "type": "test"}, "3519": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "type": "test"}, "3520": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9", "type": "test"}, "3521": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "type": "test"}, "3522": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "type": "test"}, "3523": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "type": "test"}, "3524": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d", "type": "test"}, "3525": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "type": "test"}, "3526": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "type": "test"}, "3527": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "type": "test"}, "3528": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051", "type": "test"}, "3529": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "type": "test"}, "3530": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "type": "test"}, "3531": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "type": "test"}, "3532": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "type": "test"}, "3533": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "type": "test"}, "3534": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "type": "test"}, "3535": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "type": "test"}, "3536": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88", "type": "test"}, "3537": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "type": "test"}, "3538": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "type": "test"}, "3539": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "type": "test"}, "3540": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "type": "test"}, "3541": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "type": "test"}, "3542": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "type": "test"}, "3543": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0", "type": "test"}, "3544": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "type": "test"}, "3545": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "type": "test"}, "3546": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "type": "test"}, "3547": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "type": "test"}, "3548": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "type": "test"}, "3549": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "type": "test"}, "3550": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "type": "test"}, "3551": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "type": "test"}, "3552": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "type": "test"}, "3553": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "type": "test"}, "3554": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "type": "test"}, "3555": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "type": "test"}, "3556": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "type": "test"}, "3557": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "type": "test"}, "3558": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "type": "test"}, "3559": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "type": "test"}, "3560": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "type": "test"}, "3561": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "type": "test"}, "3562": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "type": "test"}, "3563": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "type": "test"}, "3564": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "type": "test"}, "3565": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "type": "test"}, "3566": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "type": "test"}, "3567": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84", "type": "test"}, "3568": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "type": "test"}, "3569": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "type": "test"}, "3570": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "type": "test"}, "3571": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "type": "test"}, "3572": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "type": "test"}, "3573": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "type": "test"}, "3574": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "type": "test"}, "3575": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "type": "test"}, "3576": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "type": "test"}, "3577": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "type": "test"}, "3578": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5", "type": "test"}, "3579": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "type": "test"}, "3580": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "type": "test"}, "3581": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b", "type": "test"}, "3582": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "type": "test"}, "3583": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "type": "test"}, "3584": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "type": "test"}, "3585": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "type": "test"}, "3586": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "type": "test"}, "3587": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "type": "test"}, "3588": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "type": "test"}, "3589": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b", "type": "test"}, "3590": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3", "type": "test"}, "3591": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "type": "test"}, "3592": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "type": "test"}, "3593": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "type": "test"}, "3594": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "type": "test"}, "3595": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "type": "test"}, "3596": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae", "type": "test"}, "3597": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "type": "test"}, "3598": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "type": "test"}, "3599": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "type": "test"}, "3600": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "type": "test"}, "3601": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9", "type": "test"}, "3602": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "type": "test"}, "3603": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "type": "test"}, "3604": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "type": "test"}, "3605": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "type": "test"}, "3606": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "type": "test"}, "3607": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "type": "test"}, "3608": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "type": "test"}, "3609": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c", "type": "test"}, "3610": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "type": "test"}, "3611": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "type": "test"}, "3612": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "type": "test"}, "3613": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "type": "test"}, "3614": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "type": "test"}, "3615": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "type": "test"}, "3616": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "type": "test"}, "3617": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "type": "test"}, "3618": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "type": "test"}, "3619": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "type": "test"}, "3620": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "type": "test"}, "3621": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "type": "test"}, "3622": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "type": "test"}, "3623": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "type": "test"}, "3624": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "type": "test"}, "3625": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b", "type": "test"}, "3626": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "type": "test"}, "3627": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "type": "test"}, "3628": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "type": "test"}, "3629": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "type": "test"}, "3630": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "type": "test"}, "3631": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9", "type": "test"}, "3632": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "type": "test"}, "3633": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "type": "test"}, "3634": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "type": "test"}, "3635": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "type": "test"}, "3636": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "type": "test"}, "3637": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a", "type": "test"}, "3638": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c", "type": "test"}, "3639": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69", "type": "test"}, "3640": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b", "type": "test"}, "3641": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee", "type": "test"}, "3642": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544", "type": "test"}, "3643": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "type": "test"}, "3644": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "type": "test"}, "3645": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff", "type": "test"}, "3646": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "type": "test"}, "3647": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "type": "test"}, "3648": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "type": "test"}, "3649": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "type": "test"}, "3650": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "type": "test"}, "3651": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198", "type": "test"}, "3652": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "type": "test"}, "3653": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "type": "test"}, "3654": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "type": "test"}, "3655": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "type": "test"}, "3656": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "type": "test"}, "3657": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "type": "test"}, "3658": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "type": "test"}, "3659": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "type": "test"}, "3660": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "type": "test"}, "3661": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "type": "test"}, "3662": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "type": "test"}, "3663": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "type": "test"}, "3664": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09", "type": "test"}, "3665": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "type": "test"}, "3666": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab", "type": "test"}, "3667": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "type": "test"}, "3668": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "type": "test"}, "3669": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "type": "test"}, "3670": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "type": "test"}, "3671": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "type": "test"}, "3672": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "type": "test"}, "3673": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1", "type": "test"}, "3674": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "type": "test"}, "3675": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "type": "test"}, "3676": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "type": "test"}, "3677": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25", "type": "test"}, "3678": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "type": "test"}, "3679": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "type": "test"}, "3680": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "type": "test"}, "3681": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "type": "test"}, "3682": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f", "type": "test"}, "3683": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "type": "test"}, "3684": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "type": "test"}, "3685": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "type": "test"}, "3686": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "type": "test"}, "3687": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "type": "test"}, "3688": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "type": "test"}, "3689": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "type": "test"}, "3690": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "type": "test"}, "3691": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "type": "test"}, "3692": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "type": "test"}, "3693": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "type": "test"}, "3694": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027", "type": "test"}, "3695": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "type": "test"}, "3696": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "type": "test"}, "3697": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "type": "test"}, "3698": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "type": "test"}, "3699": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "type": "test"}, "3700": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "type": "test"}, "3701": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "type": "test"}, "3702": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "type": "test"}, "3703": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "type": "test"}, "3704": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "type": "test"}, "3705": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a", "type": "test"}, "3706": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "type": "test"}, "3707": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "type": "test"}, "3708": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "type": "test"}, "3709": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "type": "test"}, "3710": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "type": "test"}, "3711": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "type": "test"}, "3712": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "type": "test"}, "3713": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "type": "test"}, "3714": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "type": "test"}, "3715": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "type": "test"}, "3716": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "type": "test"}, "3717": {"name": "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb", "type": "test"}, "3718": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "type": "test"}, "3719": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "type": "test"}, "3720": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "type": "test"}, "3721": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "type": "test"}, "3722": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "type": "test"}, "3723": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "type": "test"}, "3724": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "type": "test"}, "3725": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "type": "test"}, "3726": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "type": "test"}, "3727": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "type": "test"}, "3728": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "type": "test"}, "3729": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "type": "test"}, "3730": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "type": "test"}, "3731": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "type": "test"}, "3732": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "type": "test"}, "3733": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "type": "test"}, "3734": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "type": "test"}, "3735": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "type": "test"}, "3736": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "type": "test"}, "3737": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "type": "test"}, "3738": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "type": "test"}, "3739": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "type": "test"}, "3740": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "type": "test"}, "3741": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "type": "test"}, "3742": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "type": "test"}, "3743": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "type": "test"}, "3744": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "type": "test"}, "3745": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "type": "test"}, "3746": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "type": "test"}, "3747": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "type": "test"}, "3748": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a", "type": "test"}, "3749": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "type": "test"}, "3750": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "type": "test"}, "3751": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "type": "test"}, "3752": {"name": "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5", "type": "test"}, "3753": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "type": "test"}, "3754": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "type": "test"}, "3755": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "type": "test"}, "3756": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "type": "test"}, "3757": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "type": "test"}, "3758": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "type": "test"}, "3759": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "type": "test"}, "3760": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "type": "test"}, "3761": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "type": "test"}, "3762": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "type": "test"}, "3763": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "type": "test"}, "3764": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "type": "test"}, "3765": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc", "type": "test"}, "3766": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "type": "test"}, "3767": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "type": "test"}, "3768": {"name": "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0", "type": "test"}, "3769": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "type": "test"}, "3770": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "type": "test"}, "3771": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "type": "test"}, "3772": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "type": "test"}, "3773": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "type": "test"}, "3774": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "type": "test"}, "3775": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "type": "test"}, "3776": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "type": "test"}, "3777": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "type": "test"}, "3778": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "type": "test"}, "3779": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "type": "test"}, "3780": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "type": "test"}, "3781": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "type": "test"}, "3782": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "type": "test"}, "3783": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "type": "test"}, "3784": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "type": "test"}, "3785": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261", "type": "test"}, "3786": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "type": "test"}, "3787": {"name": "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7", "type": "test"}, "3788": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "type": "test"}, "3789": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "type": "test"}, "3790": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "type": "test"}, "3791": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "type": "test"}, "3792": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "type": "test"}, "3793": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "type": "test"}, "3794": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "type": "test"}, "3795": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "type": "test"}, "3796": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "type": "test"}, "3797": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "type": "test"}, "3798": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "type": "test"}, "3799": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "type": "test"}, "3800": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7", "type": "test"}, "3801": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "type": "test"}, "3802": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "type": "test"}, "3803": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "type": "test"}, "3804": {"name": "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2", "type": "test"}, "3805": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "type": "test"}, "3806": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "type": "test"}, "3807": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "type": "test"}, "3808": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "type": "test"}, "3809": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "type": "test"}, "3810": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2", "type": "test"}, "3811": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "type": "test"}, "3812": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "type": "test"}, "3813": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "type": "test"}, "3814": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "type": "test"}, "3815": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "type": "test"}, "3816": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "type": "test"}, "3817": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "type": "test"}, "3818": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "type": "test"}, "3819": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa", "type": "test"}, "3820": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "type": "test"}, "3821": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "type": "test"}, "3822": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "type": "test"}, "3823": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "type": "test"}, "3824": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "type": "test"}, "3825": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "type": "test"}, "3826": {"name": "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329", "type": "test"}, "3827": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "type": "test"}, "3828": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "type": "test"}, "3829": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "type": "test"}, "3830": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "type": "test"}, "3831": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "type": "test"}, "3832": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "type": "test"}, "3833": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "type": "test"}, "3834": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "type": "test"}, "3835": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8", "type": "test"}, "3836": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "type": "test"}, "3837": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "type": "test"}, "3838": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "type": "test"}, "3839": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "type": "test"}, "3840": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "type": "test"}, "3841": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "type": "test"}, "3842": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "type": "test"}, "3843": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "type": "test"}, "3844": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "type": "test"}, "3845": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243", "type": "test"}, "3846": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "type": "test"}, "3847": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "type": "test"}, "3848": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "type": "test"}, "3849": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "type": "test"}, "3850": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "type": "test"}, "3851": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "type": "test"}, "3852": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "type": "test"}, "3853": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139", "type": "test"}, "3854": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "type": "test"}, "3855": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "type": "test"}, "3856": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "type": "test"}, "3857": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "type": "test"}, "3858": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "type": "test"}, "3859": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "type": "test"}, "3860": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124", "type": "test"}, "3861": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "type": "test"}, "3862": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "type": "test"}, "3863": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "type": "test"}, "3864": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "type": "test"}, "3865": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "type": "test"}, "3866": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "type": "test"}, "3867": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "type": "test"}, "3868": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "type": "test"}, "3869": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "type": "test"}, "3870": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "type": "test"}, "3871": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "type": "test"}, "3872": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "type": "test"}, "3873": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "type": "test"}, "3874": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "type": "test"}, "3875": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "type": "test"}, "3876": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "type": "test"}, "3877": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "type": "test"}, "3878": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "type": "test"}, "3879": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "type": "test"}, "3880": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "type": "test"}, "3881": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "type": "test"}, "3882": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "type": "test"}, "3883": {"name": "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17", "type": "test"}, "3884": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "type": "test"}, "3885": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "type": "test"}, "3886": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "type": "test"}, "3887": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "type": "test"}, "3888": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "type": "test"}, "3889": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "type": "test"}, "3890": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "type": "test"}, "3891": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "type": "test"}, "3892": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "type": "test"}, "3893": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "type": "test"}, "3894": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4", "type": "test"}, "3895": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "type": "test"}, "3896": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "type": "test"}, "3897": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777", "type": "test"}, "3898": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "type": "test"}, "3899": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "type": "test"}, "3900": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "type": "test"}, "3901": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "type": "test"}, "3902": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "type": "test"}, "3903": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "type": "test"}, "3904": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "type": "test"}, "3905": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87", "type": "test"}, "3906": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd", "type": "test"}, "3907": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "type": "test"}, "3908": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "type": "test"}, "3909": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "type": "test"}, "3910": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "type": "test"}, "3911": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "type": "test"}, "3912": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d", "type": "test"}, "3913": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "type": "test"}, "3914": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "type": "test"}, "3915": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "type": "test"}, "3916": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "type": "test"}, "3917": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103", "type": "test"}, "3918": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "type": "test"}, "3919": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "type": "test"}, "3920": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "type": "test"}, "3921": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "type": "test"}, "3922": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "type": "test"}, "3923": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "type": "test"}, "3924": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "type": "test"}, "3925": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22", "type": "test"}, "3926": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "type": "test"}, "3927": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "type": "test"}, "3928": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "type": "test"}, "3929": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "type": "test"}, "3930": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "type": "test"}, "3931": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "type": "test"}, "3932": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "type": "test"}, "3933": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "type": "test"}, "3934": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "type": "test"}, "3935": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "type": "test"}, "3936": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "type": "test"}, "3937": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "type": "test"}, "3938": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "type": "test"}, "3939": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "type": "test"}, "3940": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1", "type": "test"}, "3941": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f", "type": "test"}, "3942": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6", "type": "test"}, "3943": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293", "type": "test"}, "3944": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e", "type": "test"}, "3945": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1", "type": "test"}, "3946": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d", "type": "test"}, "3947": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "type": "test"}, "3948": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "type": "test"}, "3949": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "type": "test"}, "3950": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a", "type": "test"}, "3951": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "type": "test"}, "3952": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01", "type": "test"}, "3953": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8", "type": "test"}, "3954": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70", "type": "test"}, "3955": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350", "type": "test"}, "3956": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768", "type": "test"}, "3957": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638", "type": "test"}, "3958": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "type": "test"}, "3959": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "type": "test"}, "3960": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d", "type": "test"}, "3961": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "type": "test"}, "3962": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "type": "test"}, "3963": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "type": "test"}, "3964": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "type": "test"}, "3965": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "type": "test"}, "3966": {"name": "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878", "type": "test"}, "3967": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "type": "test"}, "3968": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "type": "test"}, "3969": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "type": "test"}, "3970": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "type": "test"}, "3971": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "type": "test"}, "3972": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "type": "test"}, "3973": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "type": "test"}, "3974": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "type": "test"}, "3975": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "type": "test"}, "3976": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "type": "test"}, "3977": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "type": "test"}, "3978": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "type": "test"}, "3979": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a", "type": "test"}, "3980": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "type": "test"}, "3981": {"name": "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d", "type": "test"}, "3982": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "type": "test"}, "3983": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "type": "test"}, "3984": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "type": "test"}, "3985": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "type": "test"}, "3986": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "type": "test"}, "3987": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "type": "test"}, "3988": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8", "type": "test"}, "3989": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "type": "test"}, "3990": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "type": "test"}, "3991": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "type": "test"}, "3992": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d", "type": "test"}, "3993": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "type": "test"}, "3994": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "type": "test"}, "3995": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "type": "test"}, "3996": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "type": "test"}, "3997": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5", "type": "test"}, "3998": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "type": "test"}, "3999": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "type": "test"}, "4000": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "type": "test"}, "4001": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "type": "test"}, "4002": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "type": "test"}, "4003": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "type": "test"}, "4004": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "type": "test"}, "4005": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "type": "test"}, "4006": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "type": "test"}, "4007": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "type": "test"}, "4008": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "type": "test"}, "4009": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a", "type": "test"}, "4010": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "type": "test"}, "4011": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "type": "test"}, "4012": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "type": "test"}, "4013": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "type": "test"}, "4014": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "type": "test"}, "4015": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "type": "test"}, "4016": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "type": "test"}, "4017": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "type": "test"}, "4018": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "type": "test"}, "4019": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "type": "test"}, "4020": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d", "type": "test"}, "4021": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "type": "test"}, "4022": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "type": "test"}, "4023": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "type": "test"}, "4024": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "type": "test"}, "4025": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "type": "test"}, "4026": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "type": "test"}, "4027": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "type": "test"}, "4028": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "type": "test"}, "4029": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "type": "test"}, "4030": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "type": "test"}, "4031": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "type": "test"}, "4032": {"name": "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634", "type": "test"}, "4033": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "type": "test"}, "4034": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "type": "test"}, "4035": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "type": "test"}, "4036": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "type": "test"}, "4037": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "type": "test"}, "4038": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "type": "test"}, "4039": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "type": "test"}, "4040": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "type": "test"}, "4041": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "type": "test"}, "4042": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "type": "test"}, "4043": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "type": "test"}, "4044": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "type": "test"}, "4045": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "type": "test"}, "4046": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "type": "test"}, "4047": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "type": "test"}, "4048": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "type": "test"}, "4049": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "type": "test"}, "4050": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "type": "test"}, "4051": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "type": "test"}, "4052": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "type": "test"}, "4053": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "type": "test"}, "4054": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "type": "test"}, "4055": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "type": "test"}, "4056": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "type": "test"}, "4057": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "type": "test"}, "4058": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "type": "test"}, "4059": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "type": "test"}, "4060": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "type": "test"}, "4061": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "type": "test"}, "4062": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "type": "test"}, "4063": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437", "type": "test"}, "4064": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "type": "test"}, "4065": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "type": "test"}, "4066": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "type": "test"}, "4067": {"name": "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba", "type": "test"}, "4068": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "type": "test"}, "4069": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "type": "test"}, "4070": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "type": "test"}, "4071": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "type": "test"}, "4072": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "type": "test"}, "4073": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "type": "test"}, "4074": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "type": "test"}, "4075": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "type": "test"}, "4076": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "type": "test"}, "4077": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "type": "test"}, "4078": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "type": "test"}, "4079": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "type": "test"}, "4080": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae", "type": "test"}, "4081": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "type": "test"}, "4082": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "type": "test"}, "4083": {"name": "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b", "type": "test"}, "4084": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "type": "test"}, "4085": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "type": "test"}, "4086": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "type": "test"}, "4087": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "type": "test"}, "4088": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "type": "test"}, "4089": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "type": "test"}, "4090": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "type": "test"}, "4091": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "type": "test"}, "4092": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "type": "test"}, "4093": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "type": "test"}, "4094": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "type": "test"}, "4095": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "type": "test"}, "4096": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "type": "test"}, "4097": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "type": "test"}, "4098": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "type": "test"}, "4099": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "type": "test"}, "4100": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e", "type": "test"}, "4101": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "type": "test"}, "4102": {"name": "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec", "type": "test"}, "4103": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "type": "test"}, "4104": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "type": "test"}, "4105": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "type": "test"}, "4106": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "type": "test"}, "4107": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "type": "test"}, "4108": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "type": "test"}, "4109": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "type": "test"}, "4110": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "type": "test"}, "4111": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "type": "test"}, "4112": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "type": "test"}, "4113": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "type": "test"}, "4114": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "type": "test"}, "4115": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f", "type": "test"}, "4116": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "type": "test"}, "4117": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "type": "test"}, "4118": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "type": "test"}, "4119": {"name": "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec", "type": "test"}, "4120": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "type": "test"}, "4121": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "type": "test"}, "4122": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "type": "test"}, "4123": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "type": "test"}, "4124": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "type": "test"}, "4125": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b", "type": "test"}, "4126": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "type": "test"}, "4127": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "type": "test"}, "4128": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "type": "test"}, "4129": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "type": "test"}, "4130": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "type": "test"}, "4131": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "type": "test"}, "4132": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "type": "test"}, "4133": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "type": "test"}, "4134": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7", "type": "test"}, "4135": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "type": "test"}, "4136": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "type": "test"}, "4137": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "type": "test"}, "4138": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "type": "test"}, "4139": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "type": "test"}, "4140": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "type": "test"}, "4141": {"name": "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649", "type": "test"}, "4142": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "type": "test"}, "4143": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "type": "test"}, "4144": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "type": "test"}, "4145": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "type": "test"}, "4146": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "type": "test"}, "4147": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "type": "test"}, "4148": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "type": "test"}, "4149": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "type": "test"}, "4150": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42", "type": "test"}, "4151": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "type": "test"}, "4152": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "type": "test"}, "4153": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "type": "test"}, "4154": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "type": "test"}, "4155": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "type": "test"}, "4156": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "type": "test"}, "4157": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "type": "test"}, "4158": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1", "type": "test"}, "4159": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "type": "test"}, "4160": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "type": "test"}, "4161": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "type": "test"}, "4162": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "type": "test"}, "4163": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "type": "test"}, "4164": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "type": "test"}, "4165": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326", "type": "test"}, "4166": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "type": "test"}, "4167": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "type": "test"}, "4168": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "type": "test"}, "4169": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "type": "test"}, "4170": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "type": "test"}, "4171": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "type": "test"}, "4172": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "type": "test"}, "4173": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "type": "test"}, "4174": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "type": "test"}, "4175": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "type": "test"}, "4176": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "type": "test"}, "4177": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "type": "test"}, "4178": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "type": "test"}, "4179": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "type": "test"}, "4180": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "type": "test"}, "4181": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "type": "test"}, "4182": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "type": "test"}, "4183": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "type": "test"}, "4184": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "type": "test"}, "4185": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "type": "test"}, "4186": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "type": "test"}, "4187": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "type": "test"}, "4188": {"name": "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f", "type": "test"}, "4189": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "type": "test"}, "4190": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "type": "test"}, "4191": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "type": "test"}, "4192": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "type": "test"}, "4193": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "type": "test"}, "4194": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "type": "test"}, "4195": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "type": "test"}, "4196": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "type": "test"}, "4197": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "type": "test"}, "4198": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "type": "test"}, "4199": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b", "type": "test"}, "4200": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "type": "test"}, "4201": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "type": "test"}, "4202": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e", "type": "test"}, "4203": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "type": "test"}, "4204": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "type": "test"}, "4205": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "type": "test"}, "4206": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "type": "test"}, "4207": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "type": "test"}, "4208": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "type": "test"}, "4209": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "type": "test"}, "4210": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6", "type": "test"}, "4211": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6", "type": "test"}, "4212": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "type": "test"}, "4213": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "type": "test"}, "4214": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "type": "test"}, "4215": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "type": "test"}, "4216": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "type": "test"}, "4217": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554", "type": "test"}, "4218": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "type": "test"}, "4219": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "type": "test"}, "4220": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "type": "test"}, "4221": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "type": "test"}, "4222": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed", "type": "test"}, "4223": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "type": "test"}, "4224": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "type": "test"}, "4225": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "type": "test"}, "4226": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "type": "test"}, "4227": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "type": "test"}, "4228": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "type": "test"}, "4229": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "type": "test"}, "4230": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f", "type": "test"}, "4231": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "type": "test"}, "4232": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "type": "test"}, "4233": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "type": "test"}, "4234": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "type": "test"}, "4235": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "type": "test"}, "4236": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "type": "test"}, "4237": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "type": "test"}, "4238": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "type": "test"}, "4239": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "type": "test"}, "4240": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "type": "test"}, "4241": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "type": "test"}, "4242": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "type": "test"}, "4243": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "type": "test"}, "4244": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "type": "test"}, "4245": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a", "type": "test"}, "4246": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "type": "test"}, "4247": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "type": "test"}, "4248": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "type": "test"}, "4249": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "type": "test"}, "4250": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "type": "test"}, "4251": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de", "type": "test"}, "4252": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "type": "test"}, "4253": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "type": "test"}, "4254": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "type": "test"}, "4255": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "type": "test"}, "4256": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "type": "test"}, "4257": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1", "type": "test"}, "4258": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d", "type": "test"}, "4259": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec", "type": "test"}, "4260": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1", "type": "test"}, "4261": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2", "type": "test"}, "4262": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86", "type": "test"}, "4263": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "type": "test"}, "4264": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "type": "test"}, "4265": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2", "type": "test"}, "4266": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "type": "test"}, "4267": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "type": "test"}, "4268": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "type": "test"}, "4269": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "type": "test"}, "4270": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "type": "test"}, "4271": {"name": "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a", "type": "test"}, "4272": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "type": "test"}, "4273": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "type": "test"}, "4274": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "type": "test"}, "4275": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "type": "test"}, "4276": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "type": "test"}, "4277": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "type": "test"}, "4278": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "type": "test"}, "4279": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "type": "test"}, "4280": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "type": "test"}, "4281": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "type": "test"}, "4282": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "type": "test"}, "4283": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "type": "test"}, "4284": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2", "type": "test"}, "4285": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "type": "test"}, "4286": {"name": "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86", "type": "test"}, "4287": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "type": "test"}, "4288": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "type": "test"}, "4289": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "type": "test"}, "4290": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "type": "test"}, "4291": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "type": "test"}, "4292": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "type": "test"}, "4293": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397", "type": "test"}, "4294": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "type": "test"}, "4295": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "type": "test"}, "4296": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "type": "test"}, "4297": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb", "type": "test"}, "4298": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "type": "test"}, "4299": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "type": "test"}, "4300": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "type": "test"}}}
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 00000000..c580ce91
--- /dev/null
+++ b/index.html
@@ -0,0 +1,75 @@
+
dbt Docs
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 00000000..6c5f090f
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1 @@
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v12.json", "dbt_version": "1.8.5", "generated_at": "2024-08-13T21:25:12.211907Z", "invocation_id": "7acd4e94-8d2f-4261-b197-0931428af2be", "env": {}, "project_name": "synthetix", "project_id": "432a2fb49dc9be7695a9ebc3519d54bf", "user_id": "cc378475-d11b-4b1f-9e9b-ef48e1f12ef7", "send_anonymous_usage_stats": true, "adapter_type": "postgres"}, "nodes": {"model.synthetix.blocks_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "blocks_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/blocks_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/blocks_eth_mainnet.sql", "unique_id": "model.synthetix.blocks_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "blocks_eth_mainnet"], "alias": "blocks_eth_mainnet", "checksum": {"name": "sha256", "checksum": "7f1217ccb5c8dbab1a068470ae7a674e1a3f1d0771800468b9fce06701b58b47"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_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/eth/mainnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.2427945, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_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_eth_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_eth_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_eth_mainnet", "blocks_parquet"], ["raw_eth_mainnet", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_eth_mainnet.blocks_parquet", "source.synthetix.raw_eth_mainnet.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_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_eth_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_eth_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_account_created_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_account_created_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_account_created_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql", "unique_id": "model.synthetix.core_account_created_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_account_created_eth_mainnet"], "alias": "core_account_created_eth_mainnet", "checksum": {"name": "sha256", "checksum": "c4cfc7e8544a8938cc197845f46b28183d0b09c494bd240b05ab85341b465aac"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.337268, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_account_created_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_debt_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_vault_debt_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql", "unique_id": "model.synthetix.core_vault_debt_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_vault_debt_eth_mainnet"], "alias": "core_vault_debt_eth_mainnet", "checksum": {"name": "sha256", "checksum": "b17e0b4f29fdeded36a2218212a820ee1be0bc4da7cb8c314e667786fb2de14e"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3709214, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_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_eth_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 {{ source('raw_eth_mainnet', 'blocks_parquet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_get_vault_debt"], ["raw_eth_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_eth_mainnet.core_get_vault_debt", "source.synthetix.raw_eth_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_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_eth_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\".\"raw_eth_mainnet\".\"blocks_parquet\" 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_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_vault_collateral_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql", "unique_id": "model.synthetix.core_vault_collateral_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_vault_collateral_eth_mainnet"], "alias": "core_vault_collateral_eth_mainnet", "checksum": {"name": "sha256", "checksum": "8cfd03dd13e9acef87acf1c437e65eaacd083ca172c7e4995982593b04e4c577"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3694482, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_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_eth_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 {{ source('raw_eth_mainnet', 'blocks_parquet') }} AS blocks\n ON base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_get_vault_collateral"], ["raw_eth_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_eth_mainnet.core_get_vault_collateral", "source.synthetix.raw_eth_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_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_eth_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\".\"raw_eth_mainnet\".\"blocks_parquet\" 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_liquidation_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_vault_liquidation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql", "unique_id": "model.synthetix.core_vault_liquidation_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_vault_liquidation_eth_mainnet"], "alias": "core_vault_liquidation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "4aa990c738869405ae5f52bb946ca08fce91e9e90af002730f35bfc84f8e167e"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "VaultLiquidation events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3670533, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_liquidation_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_deposited_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_deposited_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_deposited_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql", "unique_id": "model.synthetix.core_deposited_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_deposited_eth_mainnet"], "alias": "core_deposited_eth_mainnet", "checksum": {"name": "sha256", "checksum": "d2279749f8a141552da1c98d597d0ce57a127e742a44e4ad24f5a1dfdd01a508"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Deposited events from the CoreProxy contract", "columns": {"collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3455677, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'deposited'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_deposited"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_deposited"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_deposited_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_pool_created_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_pool_created_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql", "unique_id": "model.synthetix.core_pool_created_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_pool_created_eth_mainnet"], "alias": "core_pool_created_eth_mainnet", "checksum": {"name": "sha256", "checksum": "90e332ca3c2e1f9d482154119e13c2b2717b56d5a0e45cdb535a460db9ab9636"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "PoolCreated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3569725, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_pool_created_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_market_registered_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_market_registered_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql", "unique_id": "model.synthetix.core_market_registered_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_market_registered_eth_mainnet"], "alias": "core_market_registered_eth_mainnet", "checksum": {"name": "sha256", "checksum": "79734b10dcc8512c28560e6cc6b507c8471534b87914459e270e245c58e2621a"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "MarketRegistered events from the CoreProxy contract", "columns": {"market": {"name": "market", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3553774, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_market_registered_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_market_updated_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_market_updated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_market_updated_eth_mainnet.sql", "unique_id": "model.synthetix.core_market_updated_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_market_updated_eth_mainnet"], "alias": "core_market_updated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "055caea0532a0abd0df4e852a9e5af1d66d3d6ae84e4adc0c14e1319b491f1a0"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Combination of MarketCollateralDeposited, MarketCollateralWithdrawn, MarketUsdDeposited, MarketUsdWithdrawn events from the CoreProxy contract\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.353514, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_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 'eth',\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 'eth',\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 'eth',\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 'eth',\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_eth_mainnet", "core_proxy_event_market_collateral_deposited"], ["raw_eth_mainnet", "core_proxy_event_market_collateral_withdrawn"], ["raw_eth_mainnet", "core_proxy_event_market_usd_deposited"], ["raw_eth_mainnet", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited", "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_market_updated_eth_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_eth_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_eth_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_eth_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_eth_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_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_rewards_distributed_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql", "unique_id": "model.synthetix.core_rewards_distributed_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_rewards_distributed_eth_mainnet"], "alias": "core_rewards_distributed_eth_mainnet", "checksum": {"name": "sha256", "checksum": "11d33684084fd647e87338fd640d00c92b2f6137ab4c529f2ba61090ef946ecf"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3616793, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_distributed_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_withdrawn_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_withdrawn_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql", "unique_id": "model.synthetix.core_withdrawn_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_withdrawn_eth_mainnet"], "alias": "core_withdrawn_eth_mainnet", "checksum": {"name": "sha256", "checksum": "893b358cd25ef9334a00b1a62b168d0741bcc77e5dfb6bc7efc7530db7bf7d07"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Withdrawn events from the CoreProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3472202, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_withdrawn_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_rewards_claimed_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql", "unique_id": "model.synthetix.core_rewards_claimed_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_rewards_claimed_eth_mainnet"], "alias": "core_rewards_claimed_eth_mainnet", "checksum": {"name": "sha256", "checksum": "e9f5932dd8e8cb69b3f5d7371aa15e82e6fc8f6ff7acfa0ba9cca1bff837687e"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "RewardsClaimed events from the CoreProxy contract", "columns": {"transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.35908, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'rewards_claimed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_rewards_claimed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_rewards_claimed_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_delegation_updated_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_delegation_updated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql", "unique_id": "model.synthetix.core_delegation_updated_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_delegation_updated_eth_mainnet"], "alias": "core_delegation_updated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "eab29340bde71cbf14e4271cbc57c56b4510350ad233af0c416a8987367501cd"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3436065, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_delegation_updated_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_liquidation_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_liquidation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql", "unique_id": "model.synthetix.core_liquidation_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_liquidation_eth_mainnet"], "alias": "core_liquidation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "14c784442c6a4abe6092fd6836e860135b269486194735507132d3079564b788"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "Liquidation events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3501823, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_liquidation_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_account_migrated_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_account_migrated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql", "unique_id": "model.synthetix.core_account_migrated_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_account_migrated_eth_mainnet"], "alias": "core_account_migrated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "ecf4e15e73d61b4b38590f21fcbba163462d4512aafb0b4c9f037619ae845ab7"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "AccountMigrated events from the legacy market Proxy contract", "columns": {"staker": {"name": "staker", "description": "Address of the V2x staker", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_amount": {"name": "collateral_amount", "description": "Amount of SNX collateral being migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt_amount": {"name": "debt_amount", "description": "Amount of SNX debt being migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3399231, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'legacy_market_proxy',\n 'account_migrated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "legacy_market_proxy_event_account_migrated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_account_migrated_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_mainnet\".\"legacy_market_proxy_event_account_migrated\"\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_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_usd_burned_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql", "unique_id": "model.synthetix.core_usd_burned_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_usd_burned_eth_mainnet"], "alias": "core_usd_burned_eth_mainnet", "checksum": {"name": "sha256", "checksum": "c3c3734dfbfd4256110f64fd688cdf7bbb1218326280ad5bfdefb8f6bb50fe73"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "UsdBurned events from the CoreProxy contract", "columns": {"amount": {"name": "amount", "description": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3635721, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'usd_burned'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_usd_burned"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_burned_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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_eth_mainnet": {"database": "analytics", "schema": "prod_raw_eth_mainnet", "name": "core_usd_minted_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql", "original_file_path": "models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql", "unique_id": "model.synthetix.core_usd_minted_eth_mainnet", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "core_usd_minted_eth_mainnet"], "alias": "core_usd_minted_eth_mainnet", "checksum": {"name": "sha256", "checksum": "336c25b2b7c250443947c4543c07a0056d4a26d2a036ade43cb7d2e9f92c1f75"}, "config": {"enabled": true, "alias": null, "schema": "raw_eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "raw_eth_mainnet"}, "created_at": 1723584316.3653293, "relation_name": "\"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"", "raw_code": "{{ get_event_data(\n 'eth',\n 'mainnet',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_eth_mainnet", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/core_usd_minted_eth_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_eth_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.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": 1723584316.8906252, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"", "raw_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n 'block'\n ) }}\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n {{ source(\n 'raw_arbitrum_mainnet',\n 'blocks_parquet'\n ) }}\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "block"], ["raw_arbitrum_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_mainnet.block", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/blocks_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH indexer_blocks AS (\n SELECT\n \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"block\"\n),\nparquet_blocks AS (\n SELECT\n TO_TIMESTAMP(\"timestamp\") AS ts,\n CAST(\n \"block_number\" AS INTEGER\n ) AS block_number\n FROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\"\n),\n\ncombined_blocks AS (\n SELECT\n *\n FROM\n indexer_blocks\n\n UNION ALL\n SELECT\n *\n FROM\n parquet_blocks\n)\nSELECT\n DISTINCT MIN(ts) AS ts,\n block_number\nFROM\n combined_blocks\nGROUP BY\n block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584316.9149714, "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_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": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584316.911702, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_market_registered_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_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": "08532133d690ec71dbff92db853b349fb3e4496822b5ad108cf8b5cff8d568e7"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584316.923597, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_arbitrum_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_get_vault_collateral"], ["raw_arbitrum_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_account_created_arbitrum_mainnet": {"database": "analytics", "schema": "prod_raw_arbitrum_mainnet", "name": "core_account_created_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/core_account_created_arbitrum_mainnet.sql", "unique_id": "model.synthetix.core_account_created_arbitrum_mainnet", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "core_account_created_arbitrum_mainnet"], "alias": "core_account_created_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "03b529fd2caffaa47a2c5e4ee174d5bb3d76a64635dfb6da55db6d078acc85b0"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "AccountCreated events from the CoreProxy contract", "columns": {"owner": {"name": "owner", "description": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584316.9001722, "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_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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584316.902151, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584316.9169016, "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_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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584316.91322, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584316.9076262, "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_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": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "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": 1723584316.9040005, "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_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": "c503d509e76614967df9ff3d23b7513b4f53fd595e5277b5c00be52507d145d9"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584316.924779, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_arbitrum_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_get_vault_debt"], ["raw_arbitrum_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_arbitrum_mainnet\".\"blocks_parquet\" 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": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": 1723584316.9186885, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584316.9056804, "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_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\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584316.9100711, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584316.9204547, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'usd_minted'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_usd_minted"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_usd_minted_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_usd_minted\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584316.9221687, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/core_vault_liquidation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_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": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584317.412812, "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_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": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "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": "Event name", "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": 1723584317.4105117, "relation_name": "\"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_mainnet", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/spot/spot_synth_bought_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_mainnet\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "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": 1723584317.3998969, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584317.4078424, "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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584317.405718, "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_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": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584317.403807, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "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": 1723584317.4171777, "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_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": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "Amount of fees collected", "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": 1723584317.4150553, "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": 1723584317.679816, "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_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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584317.7117798, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_vault_liquidation_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_rewards_distributed_arbitrum_sepolia": {"database": "analytics", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_distributed_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/core_rewards_distributed_arbitrum_sepolia.sql", "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "core_rewards_distributed_arbitrum_sepolia"], "alias": "core_rewards_distributed_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "80c46d2fa6c604049a0e7313ce25820def3dcecc1b3f9edb71ef9f25223ab8b6"}, "config": {"enabled": true, "alias": null, "schema": "raw_arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "RewardsDistributed events from the CoreProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584317.706424, "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_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": "12cb706a227771b55d7751ce86a4ba7f61325523d81c9a28bca67667e9820f68"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584317.713168, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_arbitrum_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_get_vault_collateral"], ["raw_arbitrum_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\" 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_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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584317.6919959, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'delegation_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_delegation_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_delegation_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_delegation_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_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": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "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": 1723584317.6938465, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584317.6974146, "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_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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584317.7026153, "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_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": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584317.6899798, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'account_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_account_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_account_created_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_account_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_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": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584317.7011008, "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_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\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584317.699561, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_deposited'\n ) }}\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_collateral_withdrawn'\n ) }}\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_usd_deposited'\n ) }}\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n {{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'core_proxy',\n 'market_usd_withdrawn'\n ) }}\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_proxy_event_market_collateral_deposited"], ["raw_arbitrum_sepolia", "core_proxy_event_market_collateral_withdrawn"], ["raw_arbitrum_sepolia", "core_proxy_event_market_usd_deposited"], ["raw_arbitrum_sepolia", "core_proxy_event_market_usd_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/core_market_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_deposited\"\n\n ) collateral_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_collateral_withdrawn\"\n\n ) collateral_withdrawn\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_deposited\"\n\n ) usd_deposited\n UNION ALL\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n deposited_collateral_value,\n \"target\" AS sender,\n 'USD' AS collateral_type,\n credit_capacity,\n amount AS token_amount\n FROM\n (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"core_proxy_event_market_usd_withdrawn\"\n\n ) usd_withdrawn\n)\nSELECT\n *\nFROM\n events\nORDER BY\n block_timestamp", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_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": "ded1d3533c12a82b37e6baff4447f5bfde39ffd5aa2d0d185512016a0b30ede3"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584317.7143426, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_arbitrum_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "core_get_vault_debt"], ["raw_arbitrum_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_arbitrum_sepolia\".\"blocks_parquet\" 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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584317.6955688, "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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584317.7044637, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584317.710009, "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_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": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": 1723584317.7082539, "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.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": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584318.1915078, "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": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "Amount of fees collected", "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": 1723584318.199923, "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_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": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584318.1983337, "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_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": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "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": "Event name", "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": 1723584318.1965024, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_bought'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_bought"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_bought_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_bought\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "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": 1723584318.1894186, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "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": 1723584318.201625, "relation_name": "\"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"", "raw_code": "{{ get_event_data(\n 'arbitrum',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/spot/spot_synth_unwrapped_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_arbitrum_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584318.1930587, "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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584318.1946754, "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.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": 1723584318.4734695, "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.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": "MarketCreated events from the PerpsMarketProxy contract", "columns": {"market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584318.50489, "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_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": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584318.48279, "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_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": "InterestRateUpdated events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "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": 1723584318.5083241, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'interest_rate_updated'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_event_interest_rate_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_interest_rate_updated_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_interest_rate_updated\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_order_committed_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_order_committed_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "unique_id": "model.synthetix.perp_order_committed_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_order_committed_base_mainnet"], "alias": "perp_order_committed_base_mainnet", "checksum": {"name": "sha256", "checksum": "a6eca0cfba74d0d75bd934eb9054eb234450f9615e842ce746401f4b6ba7c171"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "OrderCommitted events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": 1723584318.486411, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy_legacy',\n 'order_committed'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'order_committed'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_legacy_event_order_committed"], ["raw_base_mainnet", "perps_market_proxy_event_order_committed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_order_committed\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n CAST(\n NULL AS numeric\n ) AS expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n account_id,\n commitment_time,\n expiration_time,\n settlement_time,\n expected_price_time,\n acceptable_price,\n order_type,\n size_delta,\n sender,\n tracking_code\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_collateral_modified_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "perp_collateral_modified_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/perp/perp_collateral_modified_base_mainnet.sql", "unique_id": "model.synthetix.perp_collateral_modified_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "perp_collateral_modified_base_mainnet"], "alias": "perp_collateral_modified_base_mainnet", "checksum": {"name": "sha256", "checksum": "0149ff89e332f7dd041d79224e5d40bff0f4dff8ff6c53f7be46535b7c27e5d4"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "CollateralModified events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584318.5006497, "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_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": "InterestCharged events from the PerpsMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "ID of the account", "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": 1723584318.5065563, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": "Address of the contract", "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": 1723584318.5022848, "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_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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": 1723584318.4963782, "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_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": "Address of the contract", "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": "Event name", "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "ID of the event record", "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": 1723584318.4911861, "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_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": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": "Interest rate", "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": 1723584318.4939709, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"", "raw_code": "WITH legacy_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy_legacy',\n 'market_updated'\n ) }}\n),\ncurrent_events AS (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'market_updated'\n ) }}\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "perps_market_proxy_legacy_event_market_updated"], ["raw_base_mainnet", "perps_market_proxy_event_market_updated"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql", "compiled": true, "compiled_code": "WITH legacy_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_legacy_event_market_updated\"\n\n),\ncurrent_events AS (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"\n\n)\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n 0 AS interest_rate\nFROM\n legacy_events\nUNION ALL\nSELECT\n id,\n block_number,\n block_timestamp,\n transaction_hash,\n \"contract\",\n event_name,\n market_id,\n price,\n skew,\n SIZE,\n size_delta,\n current_funding_rate,\n current_funding_velocity,\n interest_rate\nFROM\n current_events", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.perp_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": "AccountLiquidationAttempt events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "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": 1723584318.498706, "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.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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of the buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Value in USD", "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": 1723584318.8295405, "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.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": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "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": 1723584318.8643103, "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_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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584318.8747876, "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_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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584318.8730202, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'pool_created'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_pool_created"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_pool_created"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_pool_created_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_pool_created\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_vault_collateral_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_vault_collateral_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_vault_collateral_base_mainnet.sql", "unique_id": "model.synthetix.core_vault_collateral_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_vault_collateral_base_mainnet"], "alias": "core_vault_collateral_base_mainnet", "checksum": {"name": "sha256", "checksum": "69b9f898f7f8fd05435cf1eb2605838b1278628da0b6d8310ddf1ccd1711daca"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584318.8838058, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_base_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_get_vault_collateral"], ["raw_base_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_mainnet.core_get_vault_collateral", "source.synthetix.raw_base_mainnet.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\" 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_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": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": 1723584318.8785849, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584318.8678496, "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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584318.8822377, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584318.8659823, "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_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": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584318.8605392, "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_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\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584318.869929, "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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584318.8767703, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'rewards_distributed'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_rewards_distributed"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_rewards_distributed_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_rewards_distributed\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_usd_minted_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_usd_minted_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_usd_minted_base_mainnet.sql", "unique_id": "model.synthetix.core_usd_minted_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_usd_minted_base_mainnet"], "alias": "core_usd_minted_base_mainnet", "checksum": {"name": "sha256", "checksum": "8401e73a541bfdee6240879fd0c837315efc025f3f23e936e0cb9879517e27c8"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "UsdMinted events from the CoreProxy contract", "columns": {"pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584318.8804092, "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_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": "93cf9725a4a3f1baa54918e94d78be1252934fb9daa2ec109492fe79cd6f6375"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584318.8849814, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_base_mainnet', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_get_vault_debt"], ["raw_base_mainnet", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_mainnet.core_get_vault_debt", "source.synthetix.raw_base_mainnet.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_base_mainnet\".\"blocks_parquet\" as blocks\n on base.block_number = blocks.block_number", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_market_registered_base_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": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584318.8714914, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'core_proxy',\n 'market_registered'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "core_proxy_event_market_registered"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.core_proxy_event_market_registered"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/core_market_registered_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"core_proxy_event_market_registered\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_delegation_updated_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "core_delegation_updated_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/core/core_delegation_updated_base_mainnet.sql", "unique_id": "model.synthetix.core_delegation_updated_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "core_delegation_updated_base_mainnet"], "alias": "core_delegation_updated_base_mainnet", "checksum": {"name": "sha256", "checksum": "d85c21be845cde044f13538a5de69e4d58a2f3cc48ead7a4b058ef6b1dd26cb7"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "DelegationUpdated events from the CoreProxy contract", "columns": {"contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584318.8626006, "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.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": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "Amount of fees collected", "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": 1723584319.4309072, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "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": 1723584319.4326313, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_synth_unwrapped_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_registered_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_registered_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_registered_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_registered_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_registered_base_mainnet"], "alias": "spot_synth_registered_base_mainnet", "checksum": {"name": "sha256", "checksum": "1056328ffd692c8bcffb78ab66ff597af26b50373ca0875279975eee000ba455"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthRegistered events from the SpotMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584319.4256806, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "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": 1723584319.4205842, "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_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": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "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": "Event name", "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": 1723584319.4275439, "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": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584319.4225695, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_settled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_settled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_settled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_settled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584319.4240904, "relation_name": "\"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"", "raw_code": "{{ get_event_data(\n 'base',\n 'mainnet',\n 'spot_market_proxy',\n 'order_cancelled'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "spot_market_proxy_event_order_cancelled"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/spot/spot_order_cancelled_base_mainnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"spot_market_proxy_event_order_cancelled\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_synth_sold_base_mainnet": {"database": "analytics", "schema": "prod_raw_base_mainnet", "name": "spot_synth_sold_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "original_file_path": "models/raw/base/mainnet/spot/spot_synth_sold_base_mainnet.sql", "unique_id": "model.synthetix.spot_synth_sold_base_mainnet", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "spot_synth_sold_base_mainnet"], "alias": "spot_synth_sold_base_mainnet", "checksum": {"name": "sha256", "checksum": "8cb97ab7806b6eb5cf28718822dadc5f6748237e4af17e210ca414bc81bab653"}, "config": {"enabled": true, "alias": null, "schema": "raw_base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "SynthSold events from the SpotMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584319.429398, "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.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": 1723584319.6898615, "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.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": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": 1723584319.701145, "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_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": "Address of the contract", "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": "Event name", "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "ID of the event record", "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": 1723584319.7032018, "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_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": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": "Interest rate", "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": 1723584319.7049975, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Sender address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584319.7104511, "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_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": "InterestRateUpdated events from the PerpsMarketProxy contract", "columns": {"block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "super_market_id": {"name": "super_market_id", "description": "ID of the super market", "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": 1723584319.7164986, "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": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584319.6991441, "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_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": "MarketCreated events from the PerpsMarketProxy contract", "columns": {"market_name": {"name": "market_name", "description": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "perps_market_id": {"name": "perps_market_id", "description": "ID of the perps market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584319.7135823, "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.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": "AccountLiquidationAttempt events from the PerpsMarketProxy contract", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "reward": {"name": "reward", "description": "Reward", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "full_liquidation": {"name": "full_liquidation", "description": "Whether it is a full or partial liquidation", "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": 1723584319.708875, "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_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": "InterestCharged events from the PerpsMarketProxy contract", "columns": {"event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "ID of the account", "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": 1723584319.7149942, "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "current_position_size": {"name": "current_position_size", "description": "Current position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": 1723584319.7072837, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": "Address of the contract", "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": 1723584319.712102, "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.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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of the buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Value in USD", "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": 1723584320.0343766, "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.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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount claimed", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "start": {"name": "start", "description": "UNIX timestamp", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "duration": {"name": "duration", "description": "Duration in seconds", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584320.0815136, "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_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\n", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "deposited_collateral_value": {"name": "deposited_collateral_value", "description": "Deposited collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584320.0748138, "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_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": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the depositor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount deposited", "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": 1723584320.0692782, "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": "Address of the account owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584320.065436, "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_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": "9872f6c1491e77c4e29e7cf8b8115f466e97a6a95262f706163baad4b0e342d0"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584320.0882742, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_base_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_get_vault_collateral"], ["raw_base_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_sepolia.core_get_vault_collateral", "source.synthetix.raw_base_sepolia.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\" 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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount withdrawn", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the withdrawer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584320.0709767, "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_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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584320.086929, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'core_proxy',\n 'vault_liquidation'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_proxy_event_vault_liquidation"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/core_vault_liquidation_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"core_proxy_event_vault_liquidation\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.core_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": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584320.0796115, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the liquidator", "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": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584320.0727878, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount minted", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584320.0851414, "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_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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "leverage": {"name": "leverage", "description": "Leverage", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount delegated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584320.0674303, "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_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": "e6790f6f38d5dfb431ab3f2facaa51107f6f41e04253e2894de0f1f2299609be"}, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Vault debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "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": 1723584320.0894313, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join {{ source('raw_base_sepolia', 'blocks_parquet') }} as blocks\n on base.block_number = blocks.block_number", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "core_get_vault_debt"], ["raw_base_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["source.synthetix.raw_base_sepolia.core_get_vault_debt", "source.synthetix.raw_base_sepolia.blocks_parquet"]}, "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)\n\nselect\n to_timestamp(blocks.timestamp) as ts,\n cast(\n blocks.block_number as integer\n ) as 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\ninner join \"analytics\".\"raw_base_sepolia\".\"blocks_parquet\" 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_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": "Amount burned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "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": 1723584320.0833652, "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_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": "Market name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "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": 1723584320.0763378, "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": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the event initiator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "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": 1723584320.0778475, "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.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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_provided": {"name": "amount_provided", "description": "Amount provided", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "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": 1723584320.5575528, "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": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": "Amount of fees collected", "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": 1723584320.5680153, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_token_address": {"name": "synth_token_address", "description": "Address of the synth token", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "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": 1723584320.562761, "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_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": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_returned": {"name": "amount_returned", "description": "Amount returned", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "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": 1723584320.566436, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_sold'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_sold"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_sold_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_sold\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "amount_unwrapped": {"name": "amount_unwrapped", "description": "Amount of synth unwrapped", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees_collected": {"name": "fees_collected", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "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": 1723584320.5697343, "relation_name": "\"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"", "raw_code": "{{ get_event_data(\n 'base',\n 'sepolia',\n 'spot_market_proxy',\n 'synth_unwrapped'\n) }}", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "spot_market_proxy_event_synth_unwrapped"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/spot_synth_unwrapped_base_sepolia.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"spot_market_proxy_event_synth_unwrapped\"\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.spot_order_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_claim": {"name": "async_order_claim", "description": "Async order clain", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "sender": {"name": "sender", "description": "Address of the delegator", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "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": 1723584320.5611746, "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": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "ID of the synth market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "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": "Event name", "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": 1723584320.5645514, "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": "Final order amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "async_order_id": {"name": "async_order_id", "description": "Async order ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "order_type": {"name": "order_type", "description": "Type of order", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Synth price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Amount of fees collected", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "fees": {"name": "fees", "description": "Fees data", "meta": {}, "data_type": "jsonb", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "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": 1723584320.55961, "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.fct_core_pool_collateral_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_pool_collateral_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_pool_collateral_eth_mainnet"], "alias": "fct_core_pool_collateral_eth_mainnet", "checksum": {"name": "sha256", "checksum": "83050d8f006cf2a1a61018e05a5f6c0ae2287c239c508553cf01b08fa4f4b109"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.842904, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_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_eth_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_eth_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_eth_mainnet", "package": null, "version": null}, {"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_eth_mainnet", "model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_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_eth_mainnet\".\"core_deposited_eth_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_eth_mainnet\".\"core_withdrawn_eth_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_apr_rewards_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_apr_rewards_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_apr_rewards_eth_mainnet"], "alias": "fct_core_apr_rewards_eth_mainnet", "checksum": {"name": "sha256", "checksum": "39646a949247fd0aea0920ccdb26e3b89dd186fb25ac302448fcafd1ec441e42"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table"}, "created_at": 1723584314.6820805, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_rewards_eth_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_eth_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_reward_eth_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_pnl_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_pnl_hourly_eth_mainnet"], "alias": "fct_pool_pnl_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "1e58977b60bcf3574d6b90789da91eb21536c7e7871b469ba6127189e8afc217"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_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": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated from V2x to V3", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type"]}, "created_at": 1723584320.8508375, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_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_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) AS p\n GROUP 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_eth_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_eth_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_eth_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_eth_mainnet') }}\n),\nhourly_migration AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_debt_migrated\n FROM\n {{ ref('fct_core_migration_hourly_eth_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 COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) + COALESCE(\n migration.hourly_debt_migrated,\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 + COALESCE(migration.hourly_debt_migrated, 0)) / 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) + COALESCE(migration.hourly_debt_migrated, 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 LEFT JOIN hourly_migration migration\n ON pnl.ts = migration.ts\n AND pnl.pool_id = migration.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n migration.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 hourly_debt_migrated,\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_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "model.synthetix.core_vault_collateral_eth_mainnet", "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_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_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS p\n GROUP 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_eth_mainnet\".\"fct_pool_issuance_hourly_eth_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_eth_mainnet\".\"fct_pool_debt_eth_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_eth_mainnet\".\"core_vault_collateral_eth_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_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\n),\nhourly_migration AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n hourly_debt_migrated\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_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 COALESCE(\n migration.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated,\n pnl.hourly_pnl + COALESCE(\n iss.hourly_issuance,\n 0\n ) + COALESCE(\n migration.hourly_debt_migrated,\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 + COALESCE(migration.hourly_debt_migrated, 0)) / 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) + COALESCE(migration.hourly_debt_migrated, 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 LEFT JOIN hourly_migration migration\n ON pnl.ts = migration.ts\n AND pnl.pool_id = migration.pool_id\n AND LOWER(\n pnl.collateral_type\n ) = LOWER(\n migration.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 hourly_debt_migrated,\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_pnl_hourly_reward_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_pnl_hourly_reward_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_pnl_hourly_reward_eth_mainnet"], "alias": "fct_pool_pnl_hourly_reward_eth_mainnet", "checksum": {"name": "sha256", "checksum": "87a2d320b83c704d230cd1c798ce431ce8ad8e615c36773676445a7e9b4cbba6"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584314.6879773, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_reward_eth_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_eth_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_eth_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_eth_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_migration_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_migration_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_migration_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_migration_eth_mainnet"], "alias": "fct_core_migration_eth_mainnet", "checksum": {"name": "sha256", "checksum": "5c1b79995a68e8fe26792c6d45f5bfb76bd958b8ae7c1b88afc359d279a1e6db"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool (Spartan Council pool)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of collateral (SNX)", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "staker": {"name": "staker", "description": "Address of the staker", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_amount": {"name": "collateral_amount", "description": "Amount of collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt_amount": {"name": "debt_amount", "description": "Amount of debt", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.855611, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"", "raw_code": "SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n 1 as pool_id, -- Spartan Council pool\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type, -- SNX collateral\n staker,\n account_id,\n {{ convert_wei('collateral_amount') }} as collateral_amount,\n {{ convert_wei('debt_amount') }} as debt_amount\nFROM\n {{ ref('core_account_migrated_eth_mainnet') }}\nORDER BY block_timestamp", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n 1 as pool_id, -- Spartan Council pool\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type, -- SNX collateral\n staker,\n account_id,\n \n collateral_amount / 1e18\n as collateral_amount,\n \n debt_amount / 1e18\n as debt_amount\nFROM\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nORDER BY 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.fct_pool_rewards_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_rewards_hourly_eth_mainnet"], "alias": "fct_pool_rewards_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "e514668be5ffa5b81b159587f47136f766cdae14bf7f3a06dad666b3762dda94"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8518617, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_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_eth_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_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_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_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_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_debt_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_debt_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_debt_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_debt_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_debt_eth_mainnet"], "alias": "fct_pool_debt_eth_mainnet", "checksum": {"name": "sha256", "checksum": "1d3624b6457d6886d3f35bbbb78ad467a6b4a3f6995d8b044a1c176859079efd"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8463123, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_eth_mainnet') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_debt_eth_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_eth_mainnet\".\"core_vault_debt_eth_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_issuance_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_issuance_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_issuance_hourly_eth_mainnet"], "alias": "fct_pool_issuance_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "c9e777cb80a98a6657d599d860d3d2824d8140d2510fb6411880a8dd1d895b9b"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.847296, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_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_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_eth_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_eth_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_eth_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_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet", "model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_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_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_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_eth_mainnet\".\"fct_pool_debt_eth_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_eth_mainnet\".\"fct_pool_issuance_eth_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_migration_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_migration_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_migration_hourly_eth_mainnet"], "alias": "fct_core_migration_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "00fa77c3d9f11f0415ba68d3b9a01094c270be8633f51afdaa01118123f7bf80"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Hourly timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8571737, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_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_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_eth_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_eth_mainnet') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nmigration AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(debt_amount) AS hourly_debt_migrated\n FROM\n {{ ref('fct_core_migration_eth_mainnet') }}\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 m.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated\nFROM\n dim\n LEFT JOIN migration m\n ON dim.pool_id = m.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n m.collateral_type\n )\n AND dim.ts = m.ts", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_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_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_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_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nmigration AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(debt_amount) AS hourly_debt_migrated\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\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 m.hourly_debt_migrated,\n 0\n ) AS hourly_debt_migrated\nFROM\n dim\n LEFT JOIN migration m\n ON dim.pool_id = m.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n m.collateral_type\n )\n AND dim.ts = m.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pool_delegation_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_pool_delegation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_pool_delegation_eth_mainnet"], "alias": "fct_core_pool_delegation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "288e4d4f648e09cb572b66697707968fb6216fdb4c4442747a41a08c7a5b1cd4"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "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/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8439481, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_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_eth_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_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_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_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_issuance_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_issuance_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_issuance_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_issuance_eth_mainnet"], "alias": "fct_pool_issuance_eth_mainnet", "checksum": {"name": "sha256", "checksum": "94f1deb3d17441c72b65b8d3337d0213f0edc3b7983230a56f493f8436a97d37"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8485582, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_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_eth_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_eth_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_eth_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet", "model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_eth_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_eth_mainnet\".\"core_usd_burned_eth_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_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_account_delegation_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_account_delegation_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_account_delegation_eth_mainnet"], "alias": "fct_core_account_delegation_eth_mainnet", "checksum": {"name": "sha256", "checksum": "38d4c5e0cf925f6d81582b9053b97fb0f2cb547994a063c46c4f9a29bba523d1"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.828636, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_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_eth_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_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_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_eth_mainnet\".\"core_delegation_updated_eth_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_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_market_updated_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_market_updated_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_market_updated_eth_mainnet"], "alias": "fct_core_market_updated_eth_mainnet", "checksum": {"name": "sha256", "checksum": "1f184187dcdb3c88030c0cf7407fcb649f2aefd09dfe67f85a9e047ade0c35ee"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.841676, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_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_eth_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_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_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_eth_mainnet\".\"core_market_updated_eth_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_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_apr_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_apr_eth_mainnet"], "alias": "fct_core_apr_eth_mainnet", "checksum": {"name": "sha256", "checksum": "0ca07a80ecf67d99fb1dc517b9d993d4432f97e4c8072182d5af55879f06cd34"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_debt_migrated": {"name": "hourly_debt_migrated", "description": "Hourly debt migrated from V2x to V3", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "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/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet", "materialized": "table"}, "created_at": 1723584320.840137, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH 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 hourly_debt_migrated,\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_eth_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.hourly_debt_migrated AS hourly_debt_migrated,\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_debt_migrated,\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_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH 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 hourly_debt_migrated,\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_eth_mainnet\".\"fct_pool_pnl_hourly_eth_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.hourly_debt_migrated AS hourly_debt_migrated,\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_debt_migrated,\n hourly_pnl,\n cumulative_pnl,\n cumulative_issuance,\n rewards_usd,\n hourly_pnl_pct,\n hourly_rewards_pct,\n apr_24h,\n apy_24h,\n apr_7d,\n apy_7d,\n apr_28d,\n apy_28d,\n apr_24h_pnl,\n apy_24h_pnl,\n apr_7d_pnl,\n apy_7d_pnl,\n apr_28d_pnl,\n apy_28d_pnl,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_rewards_eth_mainnet"], "alias": "fct_pool_rewards_eth_mainnet", "checksum": {"name": "sha256", "checksum": "5ed6bc6f4b699b339717f2e75fe3e042aeab9d6ee02a51622d7eaa9f62c1e22b"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "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/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8271794, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_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_eth_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('eth_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_eth_mainnet", "package": null, "version": null}, {"name": "eth_mainnet_reward_distributors", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet", "seed.synthetix.eth_mainnet_reward_distributors"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_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_eth_mainnet\".\"core_rewards_distributed_eth_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\".\"eth_mainnet_reward_distributors\"\n)\nSELECT\n rd.ts,\n rd.pool_id,\n rd.collateral_type,\n rd.distributor,\n distributors.token_symbol,\n rd.amount,\n rd.ts_start,\n rd.duration\nFROM\n rewards_distributed rd\n join distributors on rd.distributor = distributors.distributor_address\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_pools_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_core_pools_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_core_pools_eth_mainnet.sql", "unique_id": "model.synthetix.fct_core_pools_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_core_pools_eth_mainnet"], "alias": "fct_core_pools_eth_mainnet", "checksum": {"name": "sha256", "checksum": "7b8c4a15fbe54b7b4f92af4ba8a7640098efa129547fbe645fa1f0dc2730f470"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8452506, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_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_eth_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pools_eth_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_eth_mainnet\".\"core_pool_created_eth_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_token_hourly_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_token_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "fct_pool_rewards_token_hourly_eth_mainnet"], "alias": "fct_pool_rewards_token_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "8c7578fb72ed9f855a9661e7c144d31d66389ebe2ff3825470e38c4167c8b29f"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/core/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584320.8540878, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_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_eth_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_eth_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_eth_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_eth_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_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}, {"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet", "model.synthetix.fct_pool_rewards_eth_mainnet", "model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_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_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_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_eth_mainnet\".\"fct_pool_rewards_eth_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_eth_mainnet\".\"fct_prices_hourly_eth_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_prices_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_prices_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql", "unique_id": "model.synthetix.fct_prices_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "fct_prices_eth_mainnet"], "alias": "fct_prices_eth_mainnet", "checksum": {"name": "sha256", "checksum": "71e7786218dfbc71152918ee706ae958b6065d85c9f9ba7c4f1c96c1c1a19d44"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584321.1692233, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_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_eth_mainnet') }}\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n {{ ref('eth_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_eth_mainnet", "package": null, "version": null}, {"name": "eth_mainnet_tokens", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet", "seed.synthetix.eth_mainnet_tokens"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_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_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n WHERE\n collateral_value > 0\n),\ntokens AS (\n SELECT\n token_address,\n token_symbol\n FROM\n \"analytics\".\"prod_seeds\".\"eth_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_eth_mainnet": {"database": "analytics", "schema": "prod_eth_mainnet", "name": "fct_prices_hourly_eth_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql", "original_file_path": "models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql", "unique_id": "model.synthetix.fct_prices_hourly_eth_mainnet", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "fct_prices_hourly_eth_mainnet"], "alias": "fct_prices_hourly_eth_mainnet", "checksum": {"name": "sha256", "checksum": "f1384c2310084732eafb046f1ab382bb817c8669c0deeabdb1d81dd9f33e331a"}, "config": {"enabled": true, "alias": null, "schema": "eth_mainnet", "database": null, "tags": ["eth_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["eth_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/eth/mainnet/prices/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "eth_mainnet", "schema": "eth_mainnet"}, "created_at": 1723584321.1701148, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_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_eth_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_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_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_eth_mainnet\".\"fct_prices_eth_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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "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": 1723584321.1995902, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n {{ ref('core_vault_debt_arbitrum_mainnet') }}\nORDER BY\n ts", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_debt_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n pool_id,\n collateral_type,\n debt\nFROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "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": 1723584321.191292, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_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": "0a6c7d0ba27e8c885e5d863aff162d6598e4b2bba83c8099e411bfef7f3c45fc"}, "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": null, "on_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "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", "materialized": "table"}, "created_at": 1723584321.1943443, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH 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": "\n\nWITH 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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584321.2060914, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_arbitrum_mainnet') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_arbitrum_mainnet') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_issuance_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "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": 1723584321.2005203, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "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": 1723584321.198537, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_arbitrum_mainnet') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pools_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584321.1958978, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "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": 1723584321.1976085, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_arbitrum_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_rewards_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_rewards_arbitrum_mainnet"], "alias": "fct_pool_rewards_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "0ec34eeda76ad3af9c12e851088de58e6789bcc35a1e2055a92b5e0232aa3616"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "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": 1723584321.190125, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584321.2045722, "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_apr_rewards_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_core_apr_rewards_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_core_apr_rewards_arbitrum_mainnet"], "alias": "fct_core_apr_rewards_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "1703b25a939f666118f248f5f9b4dc4cbfa08b0ac9a284996b6c30629580f071"}, "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": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table"}, "created_at": 1723584314.7887769, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_rewards_arbitrum_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_arbitrum_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "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": 1723584321.2018392, "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_pnl_hourly_reward_arbitrum_mainnet": {"database": "analytics", "schema": "prod_arbitrum_mainnet", "name": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "fct_pool_pnl_hourly_reward_arbitrum_mainnet"], "alias": "fct_pool_pnl_hourly_reward_arbitrum_mainnet", "checksum": {"name": "sha256", "checksum": "308685dec1689bf1010c127456ffead34bc4a928228c49969a0dccb211c8feef"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_mainnet", "database": null, "tags": ["arbitrum_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_mainnet", "schema": "arbitrum_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584314.7974012, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_reward_arbitrum_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "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": 1723584321.1967206, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "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": 1723584321.2035964, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "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": 1723584321.4730396, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "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": 1723584321.471287, "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_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": "Synth market ID", "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": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "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": 1723584321.4740078, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "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": 1723584321.4752238, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584321.5331917, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584321.534072, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "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": 1723584321.5658343, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "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": 1723584321.55383, "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_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": "e9dd0f3567bed4e0f1579f1a4055b63ab13d087cfc4d5bca28ca0d426f07b70a"}, "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": null, "on_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "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", "materialized": "table"}, "created_at": 1723584321.5581481, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH 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": "\n\nWITH 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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "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": 1723584321.562465, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_arbitrum_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pools_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_account_delegation_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_account_delegation_arbitrum_sepolia"], "alias": "fct_core_account_delegation_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "9fc0e026d0582c2f917ab05fea5f8266f6c0feef1c3aa7e05615c7188c7c62f8"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "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": 1723584321.5549319, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "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": 1723584321.5676281, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "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": 1723584321.5605888, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"", "raw_code": "WITH events AS (\n SELECT\n block_timestamp,\n {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_deposited_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp,- {{ convert_wei('token_amount') }} AS token_amount,\n collateral_type\n FROM\n {{ ref('core_withdrawn_arbitrum_sepolia') }}\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia", "model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH events AS (\n SELECT\n block_timestamp,\n \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp,- \n token_amount / 1e18\n AS token_amount,\n collateral_type\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\nranked_events AS (\n SELECT\n *,\n SUM(token_amount) over (\n PARTITION BY collateral_type\n ORDER BY\n block_timestamp rows BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS amount_deposited\n FROM\n events\n)\nSELECT\n block_timestamp AS ts,\n collateral_type,\n amount_deposited\nFROM\n ranked_events\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584321.570234, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_arbitrum_sepolia') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_arbitrum_sepolia') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_pool_pnl_hourly_reward_arbitrum_sepolia"], "alias": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "010e2163c0154084b988908861ba1a84e44b478180ae143cb1b6208a6dfa9031"}, "config": {"enabled": true, "alias": null, "schema": "arbitrum_sepolia", "database": null, "tags": ["arbitrum_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584314.8694098, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_arbitrum_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_arbitrum_sepolia') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "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": 1723584321.561493, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "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": 1723584321.5645847, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia", "model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nmax_debt_block AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS HOUR,\n pool_id,\n collateral_type,\n MAX(block_number) AS max_block_number\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n GROUP BY\n DATE_TRUNC(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n),\nfilt_issuance AS (\n SELECT\n CASE\n WHEN i.block_number <= d.max_block_number\n OR d.max_block_number IS NULL THEN i.ts\n ELSE i.ts + INTERVAL '1 hour'\n END AS ts,\n i.pool_id,\n i.collateral_type,\n i.amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n i\n LEFT JOIN max_debt_block d\n ON DATE_TRUNC(\n 'hour',\n i.ts\n ) = d.hour\n AND i.pool_id = d.pool_id\n AND LOWER(\n i.collateral_type\n ) = LOWER(\n d.collateral_type\n )\n WHERE\n i.block_number <= (\n SELECT\n MAX(\n max_block_number\n )\n FROM\n max_debt_block\n )\n),\nissuance AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n pool_id,\n collateral_type,\n SUM(amount) AS hourly_issuance\n FROM\n filt_issuance\n GROUP BY\n 1,\n 2,\n 3\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n COALESCE(\n i.hourly_issuance,\n 0\n ) AS hourly_issuance\nFROM\n dim\n LEFT JOIN issuance i\n ON dim.pool_id = i.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n i.collateral_type\n )\n AND dim.ts = i.ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia": {"database": "analytics", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_rewards_arbitrum_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "fct_core_apr_rewards_arbitrum_sepolia"], "alias": "fct_core_apr_rewards_arbitrum_sepolia", "checksum": {"name": "sha256", "checksum": "e74471344698f5bfa94ff9a035f467b8e5eccc9906da82985bf15d3f32a5c0b7"}, "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": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["arbitrum_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "arbitrum_sepolia", "schema": "arbitrum_sepolia", "materialized": "table"}, "created_at": 1723584314.8818555, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_rewards_arbitrum_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_arbitrum_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_reward_arbitrum_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584321.5686142, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584321.5597498, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"", "raw_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n {{ ref('core_market_updated_arbitrum_sepolia') }}\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n {{ convert_wei(\"credit_capacity\") }} AS credit_capacity,\n {{ convert_wei(\"net_issuance\") }} AS net_issuance,\n {{ convert_wei(\"token_amount\") }} AS token_amount\nFROM\n market_updated", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH market_updated AS (\n SELECT\n id,\n block_timestamp,\n block_number,\n transaction_hash,\n contract,\n event_name,\n market_id,\n net_issuance,\n sender,\n collateral_type,\n credit_capacity,\n token_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n)\nSELECT\n id,\n block_timestamp AS ts,\n transaction_hash,\n event_name,\n market_id,\n collateral_type,\n \n credit_capacity / 1e18\n AS credit_capacity,\n \n net_issuance / 1e18\n AS net_issuance,\n \n token_amount / 1e18\n AS token_amount\nFROM\n market_updated", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "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": 1723584321.563633, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "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": 1723584321.8344438, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"", "raw_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n {{ ref('fct_spot_wrapper_arbitrum_sepolia') }}\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n {{ ref('fct_spot_atomics_arbitrum_sepolia') }}\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_minted_arbitrum_sepolia') }}\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * {{ convert_wei(\"amount\") }} AS change_amount\n FROM\n {{ ref('core_usd_burned_arbitrum_sepolia') }}\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}, {"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}, {"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "model.synthetix.core_usd_minted_arbitrum_sepolia", "model.synthetix.core_usd_burned_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "WITH wrapper AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount_wrapped AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\n),\natomics AS (\n SELECT\n ts,\n block_number,\n synth_market_id,\n amount AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n UNION ALL\n SELECT\n ts,\n block_number,\n 0 AS synth_market_id,\n amount * price * -1 AS change_amount\n FROM\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\n),\nusd_changes AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n UNION ALL\n SELECT\n block_timestamp AS ts,\n block_number,\n 0 AS synth_market_id,\n -1 * \n amount / 1e18\n AS change_amount\n FROM\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n),\nall_changes AS (\n SELECT\n *\n FROM\n wrapper\n UNION ALL\n SELECT\n *\n FROM\n atomics\n UNION ALL\n SELECT\n *\n FROM\n usd_changes\n)\nSELECT\n ts,\n block_number,\n synth_market_id,\n SUM(change_amount) over (\n PARTITION BY synth_market_id\n ORDER BY\n ts,\n block_number\n ) AS supply\nFROM\n all_changes", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_spot_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": "Synth market ID", "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": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "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": 1723584321.8368297, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "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": 1723584321.8380105, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "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": 1723584321.835881, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584321.8955708, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584321.8964524, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "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": 1723584321.9539974, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": 1723584321.9495282, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_usd": {"name": "size_usd", "description": "Size (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "Long open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "Short open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "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": 1723584321.9620142, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"", "raw_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n {{ convert_wei('price') }} AS price,\n {{ convert_wei('skew') }} AS skew,\n {{ convert_wei('size') }} AS SIZE,\n {{ convert_wei('size_delta') }} AS size_delta,\n {{ convert_wei('current_funding_rate') }} AS funding_rate,\n {{ convert_wei('current_funding_velocity') }} AS funding_velocity,\n {{ convert_wei('interest_rate') }} AS interest_rate,\n {{ convert_wei('current_funding_rate') }} * 365.25 AS funding_rate_apr,\n {{ convert_wei('current_funding_rate') }} * 365.25 + {{ convert_wei('interest_rate') }} AS long_rate_apr,\n {{ convert_wei('current_funding_rate') }} * -1 * 365.25 + {{ convert_wei('interest_rate') }} AS short_rate_apr\n FROM\n {{ ref('perp_market_updated_base_mainnet') }}\n mu\n LEFT JOIN {{ ref('fct_perp_markets_base_mainnet') }}\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}, {"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_market_updated_base_mainnet", "model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n mu.id,\n mu.block_timestamp AS ts,\n mu.block_number,\n mu.transaction_hash,\n m.id AS market_id,\n m.market_symbol,\n \n price / 1e18\n AS price,\n \n skew / 1e18\n AS skew,\n \n size / 1e18\n AS SIZE,\n \n size_delta / 1e18\n AS size_delta,\n \n current_funding_rate / 1e18\n AS funding_rate,\n \n current_funding_velocity / 1e18\n AS funding_velocity,\n \n interest_rate / 1e18\n AS interest_rate,\n \n current_funding_rate / 1e18\n * 365.25 AS funding_rate_apr,\n \n current_funding_rate / 1e18\n * 365.25 + \n interest_rate / 1e18\n AS long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25 + \n interest_rate / 1e18\n AS short_rate_apr\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n mu\n LEFT JOIN \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n m\n ON mu.market_id = m.id\n)\nSELECT\n *,\n SIZE * price AS size_usd,\n (\n SIZE + skew\n ) * price / 2 AS long_oi,\n (\n SIZE - skew\n ) * price / 2 AS short_oi,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE + skew) * price / 2) / (\n SIZE * price\n )\n END AS long_oi_pct,\n CASE\n WHEN SIZE * price = 0 THEN NULL\n ELSE ((SIZE - skew) * price / 2) / (\n SIZE * price\n )\n END AS short_oi_pct\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": 1723584321.9569223, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "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": 1723584321.9478977, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "Interest amount", "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": 1723584321.9464188, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "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": 1723584321.9551625, "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_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": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_name": {"name": "market_name", "description": "Market name", "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": 1723584321.9579656, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Liquidated position size", "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": 1723584321.9636734, "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_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": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "total_reward": {"name": "total_reward", "description": "Total reward", "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": 1723584321.9648545, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the account owner", "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": 1723584321.9656947, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "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": 1723584322.2375233, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_mainnet') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "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": 1723584322.2363753, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "snx_price": {"name": "snx_price", "description": "SNX Price", "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": 1723584322.2391858, "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_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "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": 1723584322.3244162, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584322.3304234, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract_address": {"name": "contract_address", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Collateral amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Vault collateral value", "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": 1723584322.314455, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"", "raw_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n {{ ref(\"core_vault_collateral_base_mainnet\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_vault_collateral_base_mainnet.sql", "compiled": true, "compiled_code": "SELECT\n ts,\n block_number,\n contract_address,\n pool_id,\n collateral_type,\n amount,\n collateral_value\nFROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584322.3216996, "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_pnl_hourly_reward_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_pool_pnl_hourly_reward_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_pool_pnl_hourly_reward_base_mainnet"], "alias": "fct_pool_pnl_hourly_reward_base_mainnet", "checksum": {"name": "sha256", "checksum": "58ea2a474bdb7a2254fd58e989345813e5264cfbe69e1064ceb10af4f8a39c7d"}, "config": {"enabled": true, "alias": null, "schema": "base_mainnet", "database": null, "tags": ["base_mainnet"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584315.0712323, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_base_mainnet') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_mainnet') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet", "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "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": 1723584322.3159752, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "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": 1723584322.327735, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"", "raw_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_burned_base_mainnet') }}\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n {{ convert_wei('amount') }} AS amount\n FROM\n {{ ref('core_usd_minted_base_mainnet') }}\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}, {"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_usd_burned_base_mainnet", "model.synthetix.core_usd_minted_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_base_mainnet.sql", "compiled": true, "compiled_code": "WITH burns AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n -1 * \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n),\nmints AS (\n SELECT\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n pool_id,\n collateral_type,\n account_id,\n \n amount / 1e18\n AS amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n ORDER BY\n block_timestamp DESC\n)\nSELECT\n *\nFROM\n burns\nUNION ALL\nSELECT\n *\nFROM\n mints\nORDER BY\n ts DESC", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_base_mainnet": {"database": "analytics", "schema": "prod_base_mainnet", "name": "fct_core_apr_rewards_base_mainnet", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "original_file_path": "models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_base_mainnet", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "fct_core_apr_rewards_base_mainnet"], "alias": "fct_core_apr_rewards_base_mainnet", "checksum": {"name": "sha256", "checksum": "75c156a0f627c0ef9fa7afde71d78e5155690f31dcfb5f6e90a6e8a5c5caf244"}, "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": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_mainnet"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_mainnet", "schema": "base_mainnet", "materialized": "table"}, "created_at": 1723584315.0866594, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_rewards_base_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_base_mainnet') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_reward_base_mainnet\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "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": 1723584322.3264096, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "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": 1723584322.3294473, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "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": 1723584322.317091, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_mainnet') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated,\n ROW_NUMBER() over (\n PARTITION BY pool_id,\n account_id,\n collateral_type\n ORDER BY\n block_timestamp DESC\n ) AS rn\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n CAST(\n account_id AS text\n ) AS account_id,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nWHERE\n rn = 1\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_rewards_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584322.3320136, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "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": 1723584322.325462, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "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": 1723584322.3234577, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "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": 1723584322.3225267, "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_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": "31e7408d48e5872aa3bb338c4b5ebf4f133b5333f7f13ab35d53952c998a1cc2"}, "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": null, "on_schema_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "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", "materialized": "table"}, "created_at": 1723584322.3200786, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH 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": "\n\nWITH 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_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": 1723584322.618693, "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_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": 1723584322.6150596, "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": 1723584322.61986, "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_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": 1723584322.6176026, "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_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": 1723584322.6269426, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_daily_base_mainnet\"", "raw_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_perp_account_stats_hourly_base_mainnet') }}\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "language": "sql", "refs": [{"name": "fct_perp_account_stats_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_account_stats_hourly_base_mainnet\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_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": 1723584322.6238027, "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_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": 1723584322.6210582, "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_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": 1723584322.6260686, "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_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": 1723584322.624704, "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_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": 1723584322.6138954, "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_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": "Synth market ID", "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": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "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": 1723584322.6305895, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "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": 1723584322.6281984, "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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "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": 1723584322.6317823, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "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": 1723584322.6296296, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584322.6889527, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584322.6898284, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "skew": {"name": "skew", "description": "Skew (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size": {"name": "size", "description": "Size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_delta": {"name": "size_delta", "description": "Size delta (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate": {"name": "funding_rate", "description": "Funding rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_velocity": {"name": "funding_velocity", "description": "Funding velocity (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest_rate": {"name": "interest_rate", "description": "Interest rate (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "funding_rate_apr": {"name": "funding_rate_apr", "description": "Funding rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_rate_apr": {"name": "long_rate_apr", "description": "Long rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_rate_apr": {"name": "short_rate_apr", "description": "Short rate APR (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "size_usd": {"name": "size_usd", "description": "Size (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi": {"name": "long_oi", "description": "Long open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi": {"name": "short_oi", "description": "Short open interest (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "long_oi_pct": {"name": "long_oi_pct", "description": "Long open interest (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "short_oi_pct": {"name": "short_oi_pct", "description": "Short open interest (%)", "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": 1723584322.7218614, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Account creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the account owner", "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": 1723584322.7252104, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": 1723584322.7126646, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "interest": {"name": "interest", "description": "Interest amount", "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": 1723584322.7094493, "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_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": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "total_reward": {"name": "total_reward", "description": "Total reward", "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": 1723584322.7242942, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "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": 1723584322.710907, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "fill_price": {"name": "fill_price", "description": "Fill price (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pnl": {"name": "pnl", "description": "PnL (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "accrued_funding": {"name": "accrued_funding", "description": "Accrued funding (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trade_size": {"name": "trade_size", "description": "Trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Position size", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "total_fees": {"name": "total_fees", "description": "Total fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "Referral fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "Collected fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "settlement_reward": {"name": "settlement_reward", "description": "Settlement reward (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "tracking_code": {"name": "tracking_code", "description": "Account tracking code", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "settler": {"name": "settler", "description": "Address of the settler", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "notional_trade_size": {"name": "notional_trade_size", "description": "Notional trade size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "notional_position_size": {"name": "notional_position_size", "description": "Notional position size (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "lp_fees": {"name": "lp_fees", "description": "LP fees (ETH)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "Exchange fees (ETH)", "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": 1723584322.7157362, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "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": 1723584322.7165554, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_liquidated": {"name": "amount_liquidated", "description": "Amount liquidated", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "position_size": {"name": "position_size", "description": "Liquidated position size", "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": 1723584322.7234354, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"", "raw_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n {{ convert_wei('amount_liquidated') }} AS amount_liquidated,\n {{ convert_wei('current_position_size') }} AS position_size\n FROM\n {{ ref('perp_position_liquidated_base_sepolia') }}\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n {{ ref('fct_perp_markets_base_sepolia') }}\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}, {"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.perp_position_liquidated_base_sepolia", "model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql", "compiled": true, "compiled_code": "WITH liquidations AS (\n SELECT\n id,\n block_timestamp AS ts,\n block_number,\n transaction_hash,\n account_id,\n market_id,\n \n amount_liquidated / 1e18\n AS amount_liquidated,\n \n current_position_size / 1e18\n AS position_size\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n),\nmarkets AS (\n SELECT\n id,\n market_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n)\nSELECT\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n CAST(\n l.account_id AS text\n ) AS account_id,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size\nFROM\n liquidations l\n LEFT JOIN markets m\n ON l.market_id = m.id", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "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": 1723584322.7182658, "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_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": "Market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Market creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_name": {"name": "market_name", "description": "Market name", "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": 1723584322.7194095, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "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": 1723584323.0739841, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "snx_amount": {"name": "snx_amount", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd_amount": {"name": "usd_amount", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_snx_amount": {"name": "cumulative_snx_amount", "description": "Cumulative amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_usd_amount": {"name": "cumulative_usd_amount", "description": "Cumulative amount in USD", "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": 1723584323.0751722, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"", "raw_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n {{ ref('fct_buyback_base_sepolia') }}\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH agg AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n SUM(snx) AS snx_amount,\n SUM(usd) AS usd_amount\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\n GROUP BY\n 1\n) -- add cumulative amounts\nSELECT\n ts,\n snx_amount,\n usd_amount,\n SUM(snx_amount) over (\n ORDER BY\n ts\n ) AS cumulative_snx_amount,\n SUM(usd_amount) over (\n ORDER BY\n ts\n ) AS cumulative_usd_amount\nFROM\n agg", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_buyback_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_buyback_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/buyback/fct_buyback_base_sepolia.sql", "unique_id": "model.synthetix.fct_buyback_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "fct_buyback_base_sepolia"], "alias": "fct_buyback_base_sepolia", "checksum": {"name": "sha256", "checksum": "d08848357d64cb3d72cb74abbc1104906db115f2fa195a679be1ad64f414093a"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"id": {"name": "id", "description": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "buyer": {"name": "buyer", "description": "Address of buyer", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "snx": {"name": "snx", "description": "Amount in SNX", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "usd": {"name": "usd", "description": "Amount in USD", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "snx_price": {"name": "snx_price", "description": "SNX Price", "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": 1723584323.0764241, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Reward amount", "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": 1723584323.1521354, "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_reward_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_reward_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_pool_pnl_hourly_reward_base_sepolia"], "alias": "fct_pool_pnl_hourly_reward_base_sepolia", "checksum": {"name": "sha256", "checksum": "04ab8d0819e3966f8bb0d534f6f89bc572f28ecf82afd93cff9037c15744aa2b"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"], "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table", "unique_key": ["ts", "pool_id", "collateral_type", "reward_token"]}, "created_at": 1723584315.2497582, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"", "raw_code": "{{ config(\n materialized = 'table',\n unique_key = ['ts', 'pool_id', 'collateral_type', 'reward_token'],\n) }}\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n {{ ref('fct_pool_pnl_hourly_base_sepolia') }}\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia", "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH dim AS (\n\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol AS reward_token\n FROM\n (\n SELECT\n ts,\n collateral_type,\n pool_id,\n collateral_value\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\n group by\n ts,\n collateral_type,\n pool_id,\n collateral_value\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT token_symbol\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n ) AS p\n GROUP BY\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol\n),\nreward_hourly_token AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n token_symbol AS reward_token,\n SUM(\n rewards_usd\n ) AS rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n GROUP BY\n ts,\n pool_id,\n collateral_type,\n token_symbol\n)\nSELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n dim.collateral_value,\n dim.reward_token,\n COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) AS rewards_usd,\n CASE\n WHEN dim.collateral_value = 0 THEN 0\n ELSE COALESCE(\n reward_hourly_token.rewards_usd,\n 0\n ) / dim.collateral_value\n END AS hourly_rewards_pct\nFROM\n dim\n LEFT JOIN reward_hourly_token\n ON dim.ts = reward_hourly_token.ts\n AND dim.pool_id = reward_hourly_token.pool_id\n AND dim.collateral_type = reward_hourly_token.collateral_type\n and dim.reward_token = reward_hourly_token.reward_token", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_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": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "created_ts": {"name": "created_ts", "description": "Pool creation timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "owner": {"name": "owner", "description": "Address of the pool owner", "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": 1723584323.160768, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n {{ ref('core_pool_created_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.core_pool_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pools_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n pool_id AS id,\n block_timestamp AS created_ts,\n block_number,\n owner\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_pool_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "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": 1723584323.1627617, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount issued", "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": 1723584323.1640158, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "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": 1723584323.1618137, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584323.1672404, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"", "raw_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n {{ ref('fct_pool_rewards_token_hourly_base_sepolia') }}\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH token_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n rewards_usd\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n SUM(rewards_usd) AS rewards_usd\nFROM\n token_hourly\nGROUP BY\n ts,\n pool_id,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "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": 1723584323.1598043, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"", "raw_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n {{ convert_wei('amount') }} - LAG({{ convert_wei('amount') }}, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n {{ ref('core_delegation_updated_base_sepolia') }}\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.synthetix.convert_wei"], "nodes": ["model.synthetix.core_delegation_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql", "compiled": true, "compiled_code": "WITH delegation_changes AS (\n SELECT\n block_timestamp,\n account_id,\n pool_id,\n collateral_type,\n \n amount / 1e18\n - LAG(\n amount / 1e18\n, 1, 0) over (\n PARTITION BY account_id,\n pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS change_in_amount\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n),\ncumulative_delegation AS (\n SELECT\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n PARTITION BY pool_id,\n collateral_type\n ORDER BY\n block_timestamp\n ) AS cumulative_amount_delegated\n FROM\n delegation_changes\n)\nSELECT\n block_timestamp AS ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated AS amount_delegated\nFROM\n cumulative_delegation\nORDER BY\n block_timestamp,\n collateral_type", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_apr_rewards_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_core_apr_rewards_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "fct_core_apr_rewards_base_sepolia"], "alias": "fct_core_apr_rewards_base_sepolia", "checksum": {"name": "sha256", "checksum": "63b33de28e942a3cf287adb226d6a3c50080344812eddcb5ead6e260aef3c33c"}, "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": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia", "materialized": "table"}, "created_at": 1723584315.2741535, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_rewards_base_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n {{ ref('fct_pool_pnl_hourly_reward_base_sepolia') }}\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_reward_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql", "compiled": true, "compiled_code": "\n\nWITH pnl_hourly AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_reward_base_sepolia\"\n),\navg_returns AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '24 HOURS' preceding\n AND CURRENT ROW\n ) AS avg_24h_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '7 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_7d_rewards_pct,\n AVG(\n hourly_rewards_pct\n ) over (\n PARTITION BY pool_id,\n collateral_type,\n reward_token\n ORDER BY\n ts RANGE BETWEEN INTERVAL '28 DAYS' preceding\n AND CURRENT ROW\n ) AS avg_28d_rewards_pct\n FROM\n pnl_hourly\n),\napr_calculations AS (\n SELECT\n pnl_hourly.ts AS ts,\n pnl_hourly.pool_id AS pool_id,\n pnl_hourly.collateral_type AS collateral_type,\n pnl_hourly.reward_token AS reward_token,\n pnl_hourly.collateral_value AS collateral_value,\n pnl_hourly.rewards_usd AS rewards_usd,\n pnl_hourly.hourly_rewards_pct AS hourly_rewards_pct,\n avg_returns.avg_24h_rewards_pct * 24 * 365 AS apr_24h_rewards,\n avg_returns.avg_7d_rewards_pct * 24 * 365 AS apr_7d_rewards,\n avg_returns.avg_28d_rewards_pct * 24 * 365 AS apr_28d_rewards\n FROM\n pnl_hourly\n JOIN avg_returns\n ON pnl_hourly.ts = avg_returns.ts\n AND pnl_hourly.pool_id = avg_returns.pool_id\n AND pnl_hourly.collateral_type = avg_returns.collateral_type\n AND pnl_hourly.reward_token = avg_returns.reward_token\n),\napy_calculations AS (\n SELECT\n *,\n (power(1 + apr_24h_rewards / 8760, 8760) - 1) AS apy_24h_rewards,\n (power(1 + apr_7d_rewards / 8760, 8760) - 1) AS apy_7d_rewards,\n (power(1 + apr_28d_rewards / 8760, 8760) - 1) AS apy_28d_rewards\n FROM\n apr_calculations\n)\nSELECT\n ts,\n pool_id,\n collateral_type,\n reward_token,\n collateral_value,\n rewards_usd,\n hourly_rewards_pct,\n apr_24h_rewards,\n apy_24h_rewards,\n apr_7d_rewards,\n apy_7d_rewards,\n apr_28d_rewards,\n apy_28d_rewards\nFROM\n apy_calculations\nORDER BY\n ts", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "distributor": {"name": "distributor", "description": "Address of the distributor", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Token symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_amount": {"name": "hourly_amount", "description": "Hourly rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_distributed": {"name": "amount_distributed", "description": "Distributed rewards amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "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": 1723584323.168772, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"", "raw_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n {{ ref('fct_pool_rewards_base_sepolia') }}\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN {{ ref('fct_prices_hourly_base_sepolia') }}\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}, {"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}, {"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia", "model.synthetix.fct_pool_rewards_base_sepolia", "model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH dim AS (\n SELECT\n generate_series(DATE_TRUNC('hour', MIN(t.ts)), DATE_TRUNC('hour', MAX(t.ts)), '1 hour' :: INTERVAL) AS ts,\n m.pool_id,\n m.collateral_type\n FROM\n (\n SELECT\n ts\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS t\n CROSS JOIN (\n SELECT\n DISTINCT pool_id,\n collateral_type\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) AS m\n GROUP BY\n m.pool_id,\n m.collateral_type\n),\nrewards_distributed AS (\n SELECT\n ts,\n pool_id,\n collateral_type,\n distributor,\n token_symbol,\n amount,\n ts_start,\n \"duration\"\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\n),\nhourly_distributions AS (\n SELECT\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor,\n r.token_symbol,\n r.amount,\n r.ts_start,\n r.\"duration\",\n ROW_NUMBER() over (\n PARTITION BY dim.ts,\n dim.pool_id,\n dim.collateral_type,\n r.distributor\n ORDER BY\n r.ts_start DESC\n ) AS distributor_index\n FROM\n dim\n LEFT JOIN rewards_distributed r\n ON dim.pool_id = r.pool_id\n AND LOWER(\n dim.collateral_type\n ) = LOWER(\n r.collateral_type\n )\n AND dim.ts + '1 hour' :: INTERVAL >= r.ts_start\n AND dim.ts < r.ts_start + r.\"duration\" * '1 second' :: INTERVAL\n),\nhourly_rewards AS (\n SELECT\n d.ts,\n d.pool_id,\n d.collateral_type,\n d.distributor,\n d.token_symbol,\n p.price,\n -- get the hourly amount distributed\n d.amount / (\n d.\"duration\" / 3600\n ) AS hourly_amount,\n -- get the amount of time distributed this hour\n -- use the smaller of those two intervals\n -- convert the interval to a number of hours\n -- multiply the result by the hourly amount to get the amount distributed this hour\n (\n EXTRACT(\n epoch\n FROM\n LEAST(\n d.\"duration\" / 3600 * '1 hour' :: INTERVAL,\n d.ts + '1 hour' :: INTERVAL - GREATEST(\n d.ts,\n d.ts_start\n )\n )\n ) / 3600\n ) * d.amount / (\n d.\"duration\" / 3600\n ) AS amount_distributed\n FROM\n hourly_distributions AS d\n LEFT JOIN \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\n p\n ON d.ts = p.ts\n AND d.token_symbol = p.market_symbol\n WHERE\n d.distributor_index = 1\n)\nSELECT\n *,\n amount_distributed * price AS rewards_usd\nFROM\n hourly_rewards\nWHERE\n amount_distributed IS NOT NULL", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_core_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Event name", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_id": {"name": "market_id", "description": "ID of the market", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "credit_capacity": {"name": "credit_capacity", "description": "Credit capacity", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "net_issuance": {"name": "net_issuance", "description": "Net issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "token_amount": {"name": "token_amount", "description": "Token amount", "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": 1723584323.1579602, "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_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": "735c4a96b7f795e56f0c044670d1d9184c7bad4ca12c51d742448d0d0395d005"}, "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": null, "on_schema_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_pnl": {"name": "cumulative_pnl", "description": "Cumulative PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_issuance": {"name": "cumulative_issuance", "description": "Cumulative Issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_24h": {"name": "apr_24h", "description": "APR (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_24h": {"name": "apy_24h", "description": "APY (24h)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_7d": {"name": "apr_7d", "description": "APR (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_7d": {"name": "apy_7d", "description": "APY (7d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apr_28d": {"name": "apr_28d", "description": "APR (28d)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "apy_28d": {"name": "apy_28d", "description": "APY (28d)", "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", "materialized": "table"}, "created_at": 1723584323.1564243, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"", "raw_code": "{{\n config(\n materialized = 'table',\n )\n}}\n\nWITH 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": "\n\nWITH 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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "ID of the account", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_delegated": {"name": "amount_delegated", "description": "Amount of delegated collateral", "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": 1723584323.1532557, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "pool_id": {"name": "pool_id", "description": "ID of the pool", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "collateral_value": {"name": "collateral_value", "description": "Collateral value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "debt": {"name": "debt", "description": "Debt value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_issuance": {"name": "hourly_issuance", "description": "Hourly issuance", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl": {"name": "hourly_pnl", "description": "Hourly PnL", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "rewards_usd": {"name": "rewards_usd", "description": "Rewards value (USD)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_pnl_pct": {"name": "hourly_pnl_pct", "description": "Hourly PnL (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_rewards_pct": {"name": "hourly_rewards_pct", "description": "Hourly Rewards (%)", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "hourly_total_pct": {"name": "hourly_total_pct", "description": "Hourly Total (%)", "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": 1723584323.166226, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "collateral_type": {"name": "collateral_type", "description": "Type of delegated collateral", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "amount_deposited": {"name": "amount_deposited", "description": "Amount deposited", "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": 1723584323.15878, "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_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": 1723584323.432257, "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_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": 1723584323.42816, "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_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": 1723584323.433176, "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_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": 1723584323.429285, "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_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": 1723584323.4340518, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_daily_base_sepolia\"", "raw_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n {{ ref('fct_perp_account_stats_hourly_base_sepolia') }}\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "language": "sql", "refs": [{"name": "fct_perp_account_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_account_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "WITH daily AS (\n SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n account_id,\n SUM(fees) AS fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_account_stats_hourly_base_sepolia\"\n GROUP BY\n 1,\n 2\n),\nstats AS (\n SELECT\n daily.*,\n SUM(fees) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_fees,\n SUM(volume) over (\n PARTITION BY account_id\n ORDER BY\n ts RANGE BETWEEN unbounded preceding\n AND CURRENT ROW\n ) AS cumulative_volume\n FROM\n daily\n)\nSELECT\n *\nFROM\n stats", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_stats_hourly_base_sepolia"], "alias": "fct_perp_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "44765d1a36646971c1ee906684a3227d25a7764326ca2e80491fdcc74027678f"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "exchange_fees": {"name": "exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referral_fees": {"name": "referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "collected_fees": {"name": "collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "volume": {"name": "volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidation_rewards": {"name": "liquidation_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "liquidated_accounts": {"name": "liquidated_accounts", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "cumulative_exchange_fees": {"name": "cumulative_exchange_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_referral_fees": {"name": "cumulative_referral_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_collected_fees": {"name": "cumulative_collected_fees", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "cumulative_volume": {"name": "cumulative_volume", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.426822, "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_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": 1723584323.4303916, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_daily_base_sepolia\"", "raw_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n {{ ref('fct_perp_market_stats_hourly_base_sepolia') }}\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_market_stats_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_market_stats_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql", "compiled": true, "compiled_code": "SELECT\n DATE_TRUNC(\n 'day',\n ts\n ) AS ts,\n market_symbol,\n SUM(trades) AS trades,\n SUM(exchange_fees) AS exchange_fees,\n SUM(referral_fees) AS referral_fees,\n SUM(collected_fees) AS collected_fees,\n SUM(volume) AS volume,\n SUM(amount_liquidated) AS amount_liquidated,\n SUM(liquidations) AS liquidations,\n MAX(cumulative_exchange_fees) AS cumulative_exchange_fees,\n MAX(cumulative_referral_fees) AS cumulative_referral_fees,\n MAX(cumulative_collected_fees) AS cumulative_collected_fees,\n MAX(cumulative_volume) AS cumulative_volume\nFROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_stats_hourly_base_sepolia\"\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": {"database": "analytics", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_hourly_base_sepolia", "resource_type": "model", "package_name": "synthetix", "path": "marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "original_file_path": "models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "fqn": ["synthetix", "marts", "base", "sepolia", "perp_stats", "fct_perp_keeper_stats_hourly_base_sepolia"], "alias": "fct_perp_keeper_stats_hourly_base_sepolia", "checksum": {"name": "sha256", "checksum": "fa9c0b0142fc121ee8a88b547508ba3bfb51121a349532fa57e65ac49c39277c"}, "config": {"enabled": true, "alias": null, "schema": "base_sepolia", "database": null, "tags": ["base_sepolia"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["base_sepolia"], "description": "", "columns": {"ts": {"name": "ts", "description": "", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "keeper": {"name": "keeper", "description": "", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "trades": {"name": "trades", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards": {"name": "settlement_rewards", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled": {"name": "amount_settled", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "trades_pct": {"name": "trades_pct", "description": "", "meta": {}, "data_type": "bigint", "constraints": [], "quote": null, "tags": []}, "settlement_rewards_pct": {"name": "settlement_rewards_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_settled_pct": {"name": "amount_settled_pct", "description": "", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/marts/base/sepolia/perp_stats/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "base_sepolia", "schema": "base_sepolia"}, "created_at": 1723584323.4313016, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"", "raw_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql", "compiled": true, "compiled_code": "WITH trades AS (\n SELECT\n DATE_TRUNC(\n 'hour',\n ts\n ) AS ts,\n settler,\n settlement_reward,\n notional_trade_size,\n 1 AS trades\n FROM\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\ntotal AS (\n SELECT\n ts,\n SUM(trades) AS trades_total,\n SUM(settlement_reward) AS settlement_reward_total,\n SUM(notional_trade_size) AS notional_trade_size_total\n FROM\n trades\n GROUP BY\n 1\n)\nSELECT\n trades.ts,\n settler AS keeper,\n SUM(trades) AS trades,\n SUM(settlement_reward) AS settlement_rewards,\n SUM(notional_trade_size) AS amount_settled,\n SUM(trades) / MAX(trades_total) AS trades_pct,\n SUM(settlement_reward) / MAX(settlement_reward_total) AS settlement_rewards_pct,\n SUM(notional_trade_size) / MAX(notional_trade_size_total) AS amount_settled_pct\nFROM\n trades\n JOIN total\n ON trades.ts = total.ts\nGROUP BY\n 1,\n 2", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_perp_tracking_stats_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": 1723584323.425739, "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_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": 1723584323.4245934, "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_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "supply": {"name": "supply", "description": "Supply", "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": 1723584323.4352052, "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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount_wrapped": {"name": "amount_wrapped", "description": "Amount wrapped", "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": 1723584323.4386768, "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_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": "ID of the event record", "meta": {}, "data_type": "character varying", "constraints": [], "quote": null, "tags": []}, "ts": {"name": "ts", "description": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "tx_hash": {"name": "tx_hash", "description": "Transaction hash", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "synth_market_id": {"name": "synth_market_id", "description": "Synth market ID", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "amount": {"name": "amount", "description": "Amount", "meta": {}, "data_type": "numeric", "constraints": [], "quote": null, "tags": []}, "referrer": {"name": "referrer", "description": "Address of the referrer", "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": 1723584323.436584, "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_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": "Synth market ID", "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": "Block number", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "token_address": {"name": "token_address", "description": "Token address", "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": 1723584323.4375226, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"", "raw_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n {{ ref('spot_synth_registered_base_sepolia') }}\n)\nSELECT\n *\nFROM\n base", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.synthetix.spot_synth_registered_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_markets_base_sepolia.sql", "compiled": true, "compiled_code": "WITH base AS (\n SELECT\n synth_market_id AS id,\n block_timestamp AS created_ts,\n block_number,\n synth_token_address AS token_address\n FROM\n \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n)\nSELECT\n *\nFROM\n base", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.fct_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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_address": {"name": "market_address", "description": "Market address", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584323.4961627, "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": "Block timestamp", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "market_symbol": {"name": "market_symbol", "description": "Market symbol", "meta": {}, "data_type": "text", "constraints": [], "quote": null, "tags": []}, "price": {"name": "price", "description": "Price", "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": 1723584323.497035, "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}, "seed.synthetix.eth_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "eth_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/eth_mainnet_tokens.csv", "original_file_path": "seeds/tokens/eth_mainnet_tokens.csv", "unique_id": "seed.synthetix.eth_mainnet_tokens", "fqn": ["synthetix", "tokens", "eth_mainnet_tokens"], "alias": "eth_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "ecda1fa4c149a8d8edfcdefe8136ad5b05bae9e2e380ed570c71970e3537c4be"}, "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": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.5520973, "relation_name": "\"analytics\".\"prod_seeds\".\"eth_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/base_mainnet_tokens.csv", "original_file_path": "seeds/tokens/base_mainnet_tokens.csv", "unique_id": "seed.synthetix.base_mainnet_tokens", "fqn": ["synthetix", "tokens", "base_mainnet_tokens"], "alias": "base_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "fa824a5833a2016791178ca64c456e8269786194fd7aec1ee3b76215303f41f5"}, "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": 1723584315.641697, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/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": 1723584315.6409843, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_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": 1723584315.6425111, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_mainnet_tokens": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_mainnet_tokens", "resource_type": "seed", "package_name": "synthetix", "path": "tokens/arbitrum_mainnet_tokens.csv", "original_file_path": "seeds/tokens/arbitrum_mainnet_tokens.csv", "unique_id": "seed.synthetix.arbitrum_mainnet_tokens", "fqn": ["synthetix", "tokens", "arbitrum_mainnet_tokens"], "alias": "arbitrum_mainnet_tokens", "checksum": {"name": "sha256", "checksum": "ee1a57b4c41ce84d5924a8b99a59466a85b74dcc4c79bc54efc8b71e6877e716"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of common token addresses to their respective token symbols", "columns": {"token_address": {"name": "token_address", "description": "Address of the token contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6402633, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.arbitrum_sepolia_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "arbitrum_sepolia_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/arbitrum_sepolia_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/arbitrum_sepolia_reward_distributors.csv", "unique_id": "seed.synthetix.arbitrum_sepolia_reward_distributors", "fqn": ["synthetix", "reward_distributors", "arbitrum_sepolia_reward_distributors"], "alias": "arbitrum_sepolia_reward_distributors", "checksum": {"name": "sha256", "checksum": "66f760aca8b7a9cb8bb3928d472480e8fbd482f6ed52e2eb37917894b30c8c37"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6376817, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.eth_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "eth_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/eth_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/eth_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.eth_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "eth_mainnet_reward_distributors"], "alias": "eth_mainnet_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": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.5649908, "relation_name": "\"analytics\".\"prod_seeds\".\"eth_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_mainnet_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "base_mainnet_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/base_mainnet_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/base_mainnet_reward_distributors.csv", "unique_id": "seed.synthetix.base_mainnet_reward_distributors", "fqn": ["synthetix", "reward_distributors", "base_mainnet_reward_distributors"], "alias": "base_mainnet_reward_distributors", "checksum": {"name": "sha256", "checksum": "68808ecde9adc18c4f86959c5283b4f556da3aa7f204b4aef821f654d1119b23"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6384277, "relation_name": "\"analytics\".\"prod_seeds\".\"base_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.base_sepolia_reward_distributors": {"database": "analytics", "schema": "prod_seeds", "name": "base_sepolia_reward_distributors", "resource_type": "seed", "package_name": "synthetix", "path": "reward_distributors/base_sepolia_reward_distributors.csv", "original_file_path": "seeds/reward_distributors/base_sepolia_reward_distributors.csv", "unique_id": "seed.synthetix.base_sepolia_reward_distributors", "fqn": ["synthetix", "reward_distributors", "base_sepolia_reward_distributors"], "alias": "base_sepolia_reward_distributors", "checksum": {"name": "sha256", "checksum": "66f760aca8b7a9cb8bb3928d472480e8fbd482f6ed52e2eb37917894b30c8c37"}, "config": {"enabled": true, "alias": null, "schema": "seeds", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "delimiter": ",", "quote_columns": null}, "tags": [], "description": "Mapping of reward distributor addresses to their respective reward tokens", "columns": {"distributor_address": {"name": "distributor_address", "description": "Address of the reward distributor contract", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}, "token_symbol": {"name": "token_symbol", "description": "Symbol for the token received as reward", "meta": {"type": "string"}, "data_type": null, "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://seeds/schema.yml", "build_path": null, "unrendered_config": {"schema": "seeds"}, "created_at": 1723584315.6392105, "relation_name": "\"analytics\".\"prod_seeds\".\"base_sepolia_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "seed.synthetix.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": 1723584315.636878, "relation_name": "\"analytics\".\"prod_seeds\".\"arbitrum_mainnet_reward_distributors\"", "raw_code": "", "root_path": "/home/runner/work/data/data/transformers/synthetix", "depends_on": {"macros": []}}, "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_arbitrum_mainnet_reward_distributors_distributor_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1.sql", "original_file_path": "seeds/schema.yml", "unique_id": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "fqn": ["synthetix", "not_null_arbitrum_mainnet_reward_distributors_distributor_address"], "alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1"}, "created_at": 1723584315.750779, "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": 1723584315.7528265, "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": 1723584315.7545018, "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": 1723584315.7561388, "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": 1723584315.7577484, "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": 1723584315.7593718, "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": 1723584315.7610998, "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": 1723584315.762693, "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": 1723584315.7643032, "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": 1723584315.7659378, "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": 1723584315.7675467, "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": 1723584315.770001, "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": 1723584315.7716382, "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": 1723584315.773241, "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": 1723584315.7748249, "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": 1723584315.776526, "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_eth_mainnet_block_number.aba38b4904": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "fqn": ["synthetix", "raw", "eth", "mainnet", "not_null_blocks_eth_mainnet_block_number"], "alias": "not_null_blocks_eth_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": 1723584316.2439704, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/schema.yml/not_null_blocks_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_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_eth_mainnet", "attached_node": "model.synthetix.blocks_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09", "fqn": ["synthetix", "raw", "eth", "mainnet", "unique_blocks_eth_mainnet_block_number"], "alias": "unique_blocks_eth_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": 1723584316.2457778, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/schema.yml/unique_blocks_eth_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_eth_mainnet\".\"blocks_eth_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_eth_mainnet", "attached_node": "model.synthetix.blocks_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql", "original_file_path": "models/raw/eth/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "fqn": ["synthetix", "raw", "eth", "mainnet", "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1"], "alias": "dbt_utils_recency_blocks_eth_mainnet_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.2480683, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/schema.yml/dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"blocks_eth_mainnet\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_eth_mainnet", "attached_node": "model.synthetix.blocks_eth_mainnet", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_owner.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_owner"], "alias": "not_null_core_account_created_eth_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3720412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_account_id"], "alias": "not_null_core_account_created_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3737805, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8"}, "created_at": 1723584316.3754704, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8\") }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_id"], "alias": "not_null_core_account_created_eth_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": 1723584316.3842032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_account_created_eth_mainnet_id"], "alias": "unique_core_account_created_eth_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": 1723584316.3858776, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_created_eth_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_eth_mainnet\".\"core_account_created_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_transaction_hash"], "alias": "not_null_core_account_created_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.3877497, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_block_number"], "alias": "not_null_core_account_created_eth_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": 1723584316.3894143, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_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.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_block_timestamp"], "alias": "not_null_core_account_created_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.391048, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_event_name"], "alias": "not_null_core_account_created_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.392674, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c"}, "created_at": 1723584316.394403, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c\") }}", "language": "sql", "refs": [{"name": "core_account_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_created_eth_mainnet_contract"], "alias": "not_null_core_account_created_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4027028, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_created_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_created_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_created_eth_mainnet", "attached_node": "model.synthetix.core_account_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_staker", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_staker.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_staker"], "alias": "not_null_core_account_migrated_eth_mainnet_staker", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4043863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_staker.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect staker\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere staker is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "staker", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "staker", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_account_id"], "alias": "not_null_core_account_migrated_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.406018, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953"}, "created_at": 1723584316.40769, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953\") }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_id"], "alias": "not_null_core_account_migrated_eth_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": 1723584316.4123335, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_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_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_account_migrated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_account_migrated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_account_migrated_eth_mainnet_id"], "alias": "unique_core_account_migrated_eth_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": 1723584316.4139826, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_account_migrated_eth_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_eth_mainnet\".\"core_account_migrated_eth_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_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_transaction_hash"], "alias": "not_null_core_account_migrated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4156344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_block_number"], "alias": "not_null_core_account_migrated_eth_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": 1723584316.417412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_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.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_block_timestamp"], "alias": "not_null_core_account_migrated_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.419028, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_event_name"], "alias": "not_null_core_account_migrated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4207504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_contract"], "alias": "not_null_core_account_migrated_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.42237, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_collateral_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_collateral_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_collateral_amount"], "alias": "not_null_core_account_migrated_eth_mainnet_collateral_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4241185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_collateral_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere collateral_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0"], "alias": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885"}, "created_at": 1723584316.4257503, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885\") }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_migrated_eth_mainnet_debt_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_migrated_eth_mainnet_debt_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_account_migrated_eth_mainnet_debt_amount"], "alias": "not_null_core_account_migrated_eth_mainnet_debt_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4300163, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_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_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_account_migrated_eth_mainnet_debt_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\nwhere debt_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0"], "alias": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23"}, "created_at": 1723584316.43173, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23\") }}", "language": "sql", "refs": [{"name": "core_account_migrated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_account_migrated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_account_migrated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not debt_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt_amount", "file_key_name": "models.core_account_migrated_eth_mainnet", "attached_node": "model.synthetix.core_account_migrated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "debt_amount", "model": "{{ get_where_subquery(ref('core_account_migrated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_contract"], "alias": "not_null_core_delegation_updated_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4357731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_id"], "alias": "not_null_core_delegation_updated_eth_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": 1723584316.4375813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_delegation_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_delegation_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_delegation_updated_eth_mainnet_id"], "alias": "unique_core_delegation_updated_eth_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": 1723584316.4392517, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_delegation_updated_eth_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_eth_mainnet\".\"core_delegation_updated_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_account_id"], "alias": "not_null_core_delegation_updated_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4408777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d"}, "created_at": 1723584316.4425147, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_collateral_type"], "alias": "not_null_core_delegation_updated_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4467804, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_pool_id"], "alias": "not_null_core_delegation_updated_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.448469, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea"}, "created_at": 1723584316.4500847, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_sender"], "alias": "not_null_core_delegation_updated_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4542646, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_block_timestamp"], "alias": "not_null_core_delegation_updated_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4559076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_block_number"], "alias": "not_null_core_delegation_updated_eth_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": 1723584316.4575484, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_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.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_leverage.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_leverage"], "alias": "not_null_core_delegation_updated_eth_mainnet_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4593303, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb"}, "created_at": 1723584316.4609795, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\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 leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_transaction_hash"], "alias": "not_null_core_delegation_updated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4651744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_amount"], "alias": "not_null_core_delegation_updated_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4668024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361"}, "created_at": 1723584316.468477, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_delegation_updated_eth_mainnet_event_name"], "alias": "not_null_core_delegation_updated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4726567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_delegation_updated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b"}, "created_at": 1723584316.474292, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_delegation_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_delegation_updated_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_eth_mainnet", "attached_node": "model.synthetix.core_delegation_updated_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_collateral_type"], "alias": "not_null_core_deposited_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4787793, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_id"], "alias": "not_null_core_deposited_eth_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": 1723584316.4804525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_deposited_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_deposited_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_deposited_eth_mainnet_id"], "alias": "unique_core_deposited_eth_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": 1723584316.4820662, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_deposited_eth_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_eth_mainnet\".\"core_deposited_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_contract"], "alias": "not_null_core_deposited_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4836867, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_event_name"], "alias": "not_null_core_deposited_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.485409, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_eth_mainnet_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_deposited_eth_mainnet_event_name__Deposited"], "alias": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac"}, "created_at": 1723584316.4870448, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac\") }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_transaction_hash"], "alias": "not_null_core_deposited_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4919431, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_account_id"], "alias": "not_null_core_deposited_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4935808, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009"}, "created_at": 1723584316.4952414, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009\") }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_sender"], "alias": "not_null_core_deposited_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.4994316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_block_timestamp"], "alias": "not_null_core_deposited_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5010836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_block_number"], "alias": "not_null_core_deposited_eth_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": 1723584316.5027065, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_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.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_eth_mainnet_token_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_deposited_eth_mainnet_token_amount"], "alias": "not_null_core_deposited_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.504364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_deposited_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_deposited_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa"}, "created_at": 1723584316.506093, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa\") }}", "language": "sql", "refs": [{"name": "core_deposited_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_deposited_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_eth_mainnet", "attached_node": "model.synthetix.core_deposited_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_block_timestamp"], "alias": "not_null_core_withdrawn_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5101748, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_contract"], "alias": "not_null_core_withdrawn_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.512087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_block_number"], "alias": "not_null_core_withdrawn_eth_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": 1723584316.5137475, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_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.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_transaction_hash"], "alias": "not_null_core_withdrawn_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.515382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_token_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_token_amount"], "alias": "not_null_core_withdrawn_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5169861, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede"}, "created_at": 1723584316.5186045, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_collateral_type"], "alias": "not_null_core_withdrawn_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5227668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_account_id"], "alias": "not_null_core_withdrawn_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5244372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56"}, "created_at": 1723584316.5260723, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_id"], "alias": "not_null_core_withdrawn_eth_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": 1723584316.5302436, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_withdrawn_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_withdrawn_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_withdrawn_eth_mainnet_id"], "alias": "unique_core_withdrawn_eth_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": 1723584316.5319173, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_withdrawn_eth_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_eth_mainnet\".\"core_withdrawn_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_sender"], "alias": "not_null_core_withdrawn_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5336895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_withdrawn_eth_mainnet_event_name"], "alias": "not_null_core_withdrawn_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.535372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_withdrawn_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2"}, "created_at": 1723584316.5370162, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_eth_mainnet", "attached_node": "model.synthetix.core_withdrawn_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_pool_id"], "alias": "not_null_core_liquidation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5415242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846"}, "created_at": 1723584316.5432036, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_block_timestamp"], "alias": "not_null_core_liquidation_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5473933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_block_number"], "alias": "not_null_core_liquidation_eth_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": 1723584316.549038, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_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.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_id"], "alias": "not_null_core_liquidation_eth_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": 1723584316.5506656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_liquidation_eth_mainnet_id"], "alias": "unique_core_liquidation_eth_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": 1723584316.5523207, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_liquidation_eth_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_eth_mainnet\".\"core_liquidation_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_contract"], "alias": "not_null_core_liquidation_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.554032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_event_name"], "alias": "not_null_core_liquidation_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5556815, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a"}, "created_at": 1723584316.5573096, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_collateral_type"], "alias": "not_null_core_liquidation_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.561808, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_sender"], "alias": "not_null_core_liquidation_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5634704, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_account_id"], "alias": "not_null_core_liquidation_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5650702, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017"}, "created_at": 1723584316.5667224, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_transaction_hash"], "alias": "not_null_core_liquidation_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.570891, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id"], "alias": "not_null_core_liquidation_eth_mainnet_liquidate_as_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5725574, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977"}, "created_at": 1723584316.574728, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977\") }}", "language": "sql", "refs": [{"name": "core_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_liquidation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_id"], "alias": "not_null_core_market_updated_eth_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": 1723584316.5787659, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_market_updated_eth_mainnet_id"], "alias": "unique_core_market_updated_eth_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": 1723584316.5804121, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_updated_eth_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_eth_mainnet\".\"core_market_updated_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_block_timestamp"], "alias": "not_null_core_market_updated_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5822015, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_block_number"], "alias": "not_null_core_market_updated_eth_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": 1723584316.5838404, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_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.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_transaction_hash"], "alias": "not_null_core_market_updated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5854354, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_contract"], "alias": "not_null_core_market_updated_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5870187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_event_name"], "alias": "not_null_core_market_updated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5887532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886"}, "created_at": 1723584316.5903955, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_market_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_market_id"], "alias": "not_null_core_market_updated_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.5959904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e"}, "created_at": 1723584316.5977483, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_net_issuance.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_net_issuance"], "alias": "not_null_core_market_updated_eth_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6019511, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_deposited_collateral_value"], "alias": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_updated_e_f4a48863c0b61b139248c098c824a58f"}, "created_at": 1723584316.6036272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f"}, "created_at": 1723584316.6052437, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_sender"], "alias": "not_null_core_market_updated_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6094546, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_collateral_type"], "alias": "not_null_core_market_updated_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6111221, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_credit_capacity.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_credit_capacity"], "alias": "not_null_core_market_updated_eth_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6127615, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_eth_mainnet_token_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_updated_eth_mainnet_token_amount"], "alias": "not_null_core_market_updated_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6145492, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_updated_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1"}, "created_at": 1723584316.6162405, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1\") }}", "language": "sql", "refs": [{"name": "core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_eth_mainnet", "attached_node": "model.synthetix.core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_market.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_market"], "alias": "not_null_core_market_registered_eth_mainnet_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6204035, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_market_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_market_id"], "alias": "not_null_core_market_registered_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6222556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_eth_mainnet_market_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_market_registered_eth_mainnet_market_id"], "alias": "unique_core_market_registered_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6239247, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_id"], "alias": "not_null_core_market_registered_eth_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": 1723584316.6255517, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_market_registered_eth_mainnet_id"], "alias": "unique_core_market_registered_eth_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": 1723584316.6272485, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_market_registered_eth_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_eth_mainnet\".\"core_market_registered_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_block_timestamp"], "alias": "not_null_core_market_registered_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.629023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_contract"], "alias": "not_null_core_market_registered_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.630653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_transaction_hash"], "alias": "not_null_core_market_registered_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.632302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_block_number"], "alias": "not_null_core_market_registered_eth_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": 1723584316.633937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_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.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_event_name"], "alias": "not_null_core_market_registered_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6355634, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e"}, "created_at": 1723584316.637337, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e\") }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_market_registered_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_market_registered_eth_mainnet_sender"], "alias": "not_null_core_market_registered_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6417613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_market_registered_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_market_registered_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_market_registered_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_market_registered_eth_mainnet", "attached_node": "model.synthetix.core_market_registered_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_contract"], "alias": "not_null_core_pool_created_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6436722, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_sender"], "alias": "not_null_core_pool_created_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6453836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_block_timestamp"], "alias": "not_null_core_pool_created_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6470246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_id"], "alias": "not_null_core_pool_created_eth_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": 1723584316.6486878, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_pool_created_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_pool_created_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_pool_created_eth_mainnet_id"], "alias": "unique_core_pool_created_eth_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": 1723584316.6504216, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_pool_created_eth_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_eth_mainnet\".\"core_pool_created_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_block_number"], "alias": "not_null_core_pool_created_eth_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": 1723584316.6520784, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_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.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_transaction_hash"], "alias": "not_null_core_pool_created_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6536908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_event_name"], "alias": "not_null_core_pool_created_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6553373, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68"}, "created_at": 1723584316.6569977, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68\") }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_owner.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_owner"], "alias": "not_null_core_pool_created_eth_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.661827, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_pool_created_eth_mainnet_pool_id"], "alias": "not_null_core_pool_created_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6634934, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_pool_created_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6"}, "created_at": 1723584316.6652882, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6\") }}", "language": "sql", "refs": [{"name": "core_pool_created_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_pool_created_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_pool_created_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_eth_mainnet", "attached_node": "model.synthetix.core_pool_created_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_transaction_hash"], "alias": "not_null_core_rewards_claimed_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6693811, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_account_id"], "alias": "not_null_core_rewards_claimed_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6712592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546"}, "created_at": 1723584316.6729233, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_collateral_type"], "alias": "not_null_core_rewards_claimed_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.677006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_event_name"], "alias": "not_null_core_rewards_claimed_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6788177, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7"}, "created_at": 1723584316.680503, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_contract"], "alias": "not_null_core_rewards_claimed_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6850247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_amount"], "alias": "not_null_core_rewards_claimed_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6866841, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12"}, "created_at": 1723584316.6883714, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_distributor.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_distributor"], "alias": "not_null_core_rewards_claimed_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.692649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_block_timestamp"], "alias": "not_null_core_rewards_claimed_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.694281, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_id"], "alias": "not_null_core_rewards_claimed_eth_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": 1723584316.6959414, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_claimed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_claimed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_rewards_claimed_eth_mainnet_id"], "alias": "unique_core_rewards_claimed_eth_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": 1723584316.6976848, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_claimed_eth_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_eth_mainnet\".\"core_rewards_claimed_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_pool_id"], "alias": "not_null_core_rewards_claimed_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.6994276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41"}, "created_at": 1723584316.701079, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_claimed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_claimed_eth_mainnet_block_number"], "alias": "not_null_core_rewards_claimed_eth_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": 1723584316.7053263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_claimed_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_claimed_eth_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.core_rewards_claimed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_claimed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_id"], "alias": "not_null_core_rewards_distributed_eth_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": 1723584316.706984, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_rewards_distributed_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_rewards_distributed_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_rewards_distributed_eth_mainnet_id"], "alias": "unique_core_rewards_distributed_eth_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": 1723584316.708688, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_rewards_distributed_eth_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_eth_mainnet\".\"core_rewards_distributed_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_event_name"], "alias": "not_null_core_rewards_distributed_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.710311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb"}, "created_at": 1723584316.711944, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_amount"], "alias": "not_null_core_rewards_distributed_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7163875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9"}, "created_at": 1723584316.718054, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_contract"], "alias": "not_null_core_rewards_distributed_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7222238, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_block_timestamp"], "alias": "not_null_core_rewards_distributed_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7239058, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_transaction_hash"], "alias": "not_null_core_rewards_distributed_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7255256, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_collateral_type"], "alias": "not_null_core_rewards_distributed_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.727288, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_block_number"], "alias": "not_null_core_rewards_distributed_eth_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": 1723584316.7289233, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_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.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_duration.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_duration"], "alias": "not_null_core_rewards_distributed_eth_mainnet_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7305396, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0"], "alias": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0"}, "created_at": 1723584316.7321904, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_distributor.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_distributor"], "alias": "not_null_core_rewards_distributed_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7363698, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_rewards_distributed_eth_mainnet_pool_id"], "alias": "not_null_core_rewards_distributed_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7380414, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_rewards_distributed_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a"}, "created_at": 1723584316.7397244, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_rewards_distributed_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_rewards_distributed_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_eth_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_amount"], "alias": "not_null_core_usd_burned_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7442176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea"}, "created_at": 1723584316.7458575, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_pool_id"], "alias": "not_null_core_usd_burned_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7500231, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea"}, "created_at": 1723584316.7516963, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_event_name"], "alias": "not_null_core_usd_burned_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.755915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2"}, "created_at": 1723584316.7575831, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_id"], "alias": "not_null_core_usd_burned_eth_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": 1723584316.7620916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_burned_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_burned_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_usd_burned_eth_mainnet_id"], "alias": "unique_core_usd_burned_eth_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": 1723584316.7637715, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_burned_eth_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_eth_mainnet\".\"core_usd_burned_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_block_number"], "alias": "not_null_core_usd_burned_eth_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": 1723584316.7654188, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_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.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_account_id"], "alias": "not_null_core_usd_burned_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7670445, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6"}, "created_at": 1723584316.7688618, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_burned_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_sender"], "alias": "not_null_core_usd_burned_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.772941, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_transaction_hash"], "alias": "not_null_core_usd_burned_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.774748, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_contract"], "alias": "not_null_core_usd_burned_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7763891, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_collateral_type"], "alias": "not_null_core_usd_burned_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.77801, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_burned_eth_mainnet_block_timestamp"], "alias": "not_null_core_usd_burned_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.779644, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_burned_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_burned_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_burned_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_burned_eth_mainnet", "attached_node": "model.synthetix.core_usd_burned_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_pool_id"], "alias": "not_null_core_usd_minted_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7812548, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c"}, "created_at": 1723584316.7829623, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_block_timestamp"], "alias": "not_null_core_usd_minted_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7870364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_account_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_account_id"], "alias": "not_null_core_usd_minted_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.7888906, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764"}, "created_at": 1723584316.7905352, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_collateral_type"], "alias": "not_null_core_usd_minted_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.794758, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_block_number"], "alias": "not_null_core_usd_minted_eth_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": 1723584316.796434, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_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.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_id"], "alias": "not_null_core_usd_minted_eth_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": 1723584316.7980607, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_usd_minted_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_usd_minted_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_usd_minted_eth_mainnet_id"], "alias": "unique_core_usd_minted_eth_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": 1723584316.799711, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_usd_minted_eth_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_eth_mainnet\".\"core_usd_minted_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_sender"], "alias": "not_null_core_usd_minted_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8013418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_amount"], "alias": "not_null_core_usd_minted_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8030717, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6"}, "created_at": 1723584316.8047178, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_event_name"], "alias": "not_null_core_usd_minted_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8089724, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66"}, "created_at": 1723584316.810642, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_usd_minted_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_transaction_hash"], "alias": "not_null_core_usd_minted_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8152068, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_usd_minted_eth_mainnet_contract"], "alias": "not_null_core_usd_minted_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.816902, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_usd_minted_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_usd_minted_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_usd_minted_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_usd_minted_eth_mainnet", "attached_node": "model.synthetix.core_usd_minted_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_transaction_hash"], "alias": "not_null_core_vault_liquidation_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8185363, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_collateral_type"], "alias": "not_null_core_vault_liquidation_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8201623, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_pool_id"], "alias": "not_null_core_vault_liquidation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8217683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70"}, "created_at": 1723584316.823801, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_event_name.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_event_name"], "alias": "not_null_core_vault_liquidation_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.827878, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177"}, "created_at": 1723584316.8297298, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_id"], "alias": "not_null_core_vault_liquidation_eth_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": 1723584316.8341084, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_vault_liquidation_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_vault_liquidation_eth_mainnet_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "unique_core_vault_liquidation_eth_mainnet_id"], "alias": "unique_core_vault_liquidation_eth_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": 1723584316.8359663, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/unique_core_vault_liquidation_eth_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_eth_mainnet\".\"core_vault_liquidation_eth_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_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_block_timestamp"], "alias": "not_null_core_vault_liquidation_eth_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8376176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973"}, "created_at": 1723584316.8392665, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145"}, "created_at": 1723584316.840964, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_liquidation_data"], "alias": "not_null_core_vault_liquidation_eth_mainnet_liquidation_data", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8451953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_liquidation_data.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_contract.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_contract"], "alias": "not_null_core_vault_liquidation_eth_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8468733, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_block_number"], "alias": "not_null_core_vault_liquidation_eth_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": 1723584316.8485866, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_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.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_eth_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_eth_mainnet_sender.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_liquidation_eth_mainnet_sender"], "alias": "not_null_core_vault_liquidation_eth_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.850385, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_eth_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_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_liquidation_eth_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_liquidation_eth_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_vault_liquidation_eth_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_ts.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_ts"], "alias": "not_null_core_vault_collateral_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.852059, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_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_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_block_number"], "alias": "not_null_core_vault_collateral_eth_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": 1723584316.8536701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_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_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_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.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_pool_id"], "alias": "not_null_core_vault_collateral_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.855311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_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_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45"}, "created_at": 1723584316.8569565, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_collateral_type"], "alias": "not_null_core_vault_collateral_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.861112, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_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_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_amount.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_amount"], "alias": "not_null_core_vault_collateral_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8627477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_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_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1"}, "created_at": 1723584316.8645763, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_collateral_value.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_collateral_value"], "alias": "not_null_core_vault_collateral_eth_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8686152, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_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_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a"}, "created_at": 1723584316.8702724, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_eth_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_eth_mainnet_contract_address.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_collateral_eth_mainnet_contract_address"], "alias": "not_null_core_vault_collateral_eth_mainnet_contract_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": 1723584316.8744347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_eth_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_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_collateral_eth_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_eth_mainnet", "attached_node": "model.synthetix.core_vault_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_ts.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_ts"], "alias": "not_null_core_vault_debt_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8761086, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_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_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_block_number.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_block_number"], "alias": "not_null_core_vault_debt_eth_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": 1723584316.877964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_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_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_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.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_pool_id.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_pool_id"], "alias": "not_null_core_vault_debt_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8796525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_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_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87"}, "created_at": 1723584316.8812761, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_collateral_type.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_collateral_type"], "alias": "not_null_core_vault_debt_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8855007, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_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_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_debt.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_debt"], "alias": "not_null_core_vault_debt_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8871474, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_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_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_eth_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_eth_mainnet_contract_address.sql", "original_file_path": "models/raw/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "fqn": ["synthetix", "raw", "eth", "mainnet", "core", "not_null_core_vault_debt_eth_mainnet_contract_address"], "alias": "not_null_core_vault_debt_eth_mainnet_contract_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": 1723584316.8887784, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_eth_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_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/eth/mainnet/core/schema.yml/not_null_core_vault_debt_eth_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_debt_eth_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_eth_mainnet", "attached_node": "model.synthetix.core_vault_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_eth_mainnet')) }}"}, "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": 1723584316.8916287, "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": 1723584316.8933003, "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.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql", "original_file_path": "models/raw/arbitrum/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1"], "alias": "dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.8949552, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/schema.yml/dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"blocks_arbitrum_mainnet\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_arbitrum_mainnet", "attached_node": "model.synthetix.blocks_arbitrum_mainnet", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_owner.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_owner"], "alias": "not_null_core_account_created_arbitrum_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9258091, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_account_id"], "alias": "not_null_core_account_created_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9275563, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65"}, "created_at": 1723584316.9292295, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584316.933526, "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": 1723584316.9351902, "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_account_created_arbitrum_mainnet_transaction_hash.ca429d274c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_account_created_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9368415, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_block_number"], "alias": "not_null_core_account_created_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": 1723584316.9385905, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_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.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_account_created_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.940294, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_event_name"], "alias": "not_null_core_account_created_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9419591, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f"}, "created_at": 1723584316.9436266, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_account_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_account_created_arbitrum_mainnet_contract"], "alias": "not_null_core_account_created_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9478416, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_account_created_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_contract"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.949581, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_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": 1723584316.9512455, "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": 1723584316.9529977, "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_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_account_id"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9546063, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727"}, "created_at": 1723584316.9562657, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e"}, "created_at": 1723584316.9606643, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e\") }}", "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_updat_ff6c4be455bb5a689b64cffbd9b8359e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_pool_id"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9623785, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978"}, "created_at": 1723584316.9641387, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_sender"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9684198, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_delegation_updat_25d626a6081121e32d064cc583bcb245"}, "created_at": 1723584316.970065, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245\") }}", "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_updat_25d626a6081121e32d064cc583bcb245.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_block_number"], "alias": "not_null_core_delegation_updated_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": 1723584316.9716864, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_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.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_leverage.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_leverage"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9734995, "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_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "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": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05"}, "created_at": 1723584316.975172, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\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 leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c"}, "created_at": 1723584316.9793394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c\") }}", "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_updat_6ac250e2c9a952d186fe70b880fd912c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_amount"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9811502, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552"}, "created_at": 1723584316.9827883, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_delegation_updated_arbitrum_mainnet_event_name"], "alias": "not_null_core_delegation_updated_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.987007, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0"}, "created_at": 1723584316.988739, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_delegation_updated_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_deposited_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9934783, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_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": 1723584316.9951444, "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": 1723584316.9967532, "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_deposited_arbitrum_mainnet_contract.a2cd7b2bb5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_contract"], "alias": "not_null_core_deposited_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9983494, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_event_name"], "alias": "not_null_core_deposited_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584316.9999518, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited"], "alias": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d"}, "created_at": 1723584317.0016592, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_deposited_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.005703, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_account_id"], "alias": "not_null_core_deposited_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0075498, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738"}, "created_at": 1723584317.0092173, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_sender"], "alias": "not_null_core_deposited_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.013256, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_deposited_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0150325, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_block_number"], "alias": "not_null_core_deposited_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": 1723584317.0166805, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_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.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_deposited_arbitrum_mainnet_token_amount"], "alias": "not_null_core_deposited_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0183063, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd"}, "created_at": 1723584317.019969, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_deposited_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_mainnet", "attached_node": "model.synthetix.core_deposited_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0241082, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_contract"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.025729, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_block_number"], "alias": "not_null_core_withdrawn_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": 1723584317.0273674, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_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.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.029113, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_token_amount"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0307207, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818"}, "created_at": 1723584317.0324256, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0366766, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_account_id"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0383182, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c"}, "created_at": 1723584317.0399854, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584317.0441768, "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": 1723584317.045822, "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_withdrawn_arbitrum_mainnet_sender.665f4ade6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_sender"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0474813, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_withdrawn_arbitrum_mainnet_event_name"], "alias": "not_null_core_withdrawn_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0492127, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34"}, "created_at": 1723584317.0508287, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_mainnet", "attached_node": "model.synthetix.core_withdrawn_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_pool_id"], "alias": "not_null_core_liquidation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0548556, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0"}, "created_at": 1723584317.0567298, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_liquidation_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0607352, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_block_number"], "alias": "not_null_core_liquidation_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": 1723584317.0625257, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_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.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_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": 1723584317.0641687, "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": 1723584317.0657635, "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_liquidation_arbitrum_mainnet_contract.b02df4336b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_contract"], "alias": "not_null_core_liquidation_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0673902, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_event_name"], "alias": "not_null_core_liquidation_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0689998, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899"}, "created_at": 1723584317.0707362, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_liquidation_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0747054, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_sender"], "alias": "not_null_core_liquidation_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0767658, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_account_id"], "alias": "not_null_core_liquidation_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.0783832, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1"}, "created_at": 1723584317.0800273, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_liquidation_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.084245, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id"], "alias": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d"}, "created_at": 1723584317.0858822, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d\") }}", "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_arbi_92f55229ca201ad07fd249fb04e9775d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737"}, "created_at": 1723584317.0875769, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_liquidation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584317.0918195, "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": 1723584317.0934653, "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_updated_arbitrum_mainnet_block_timestamp.2bd177f07f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_market_updated_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.095117, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_block_number"], "alias": "not_null_core_market_updated_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": 1723584317.0968983, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_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.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_market_updated_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.09855, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_contract"], "alias": "not_null_core_market_updated_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1001961, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_event_name"], "alias": "not_null_core_market_updated_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.10178, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f"}, "created_at": 1723584317.1034212, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_market_id"], "alias": "not_null_core_market_updated_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1075447, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832"}, "created_at": 1723584317.1091967, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_net_issuance.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_net_issuance"], "alias": "not_null_core_market_updated_arbitrum_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.11339, "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_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "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": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value"], "alias": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_updated_a_c8d66a6213d38496ae35d373291887d5"}, "created_at": 1723584317.1150362, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5\") }}", "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_a_c8d66a6213d38496ae35d373291887d5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "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": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c"}, "created_at": 1723584317.116732, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_sender"], "alias": "not_null_core_market_updated_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.120896, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_market_updated_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.122542, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_credit_capacity.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_credit_capacity"], "alias": "not_null_core_market_updated_arbitrum_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1242082, "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_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "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": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_updated_arbitrum_mainnet_token_amount"], "alias": "not_null_core_market_updated_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1259654, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "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": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993"}, "created_at": 1723584317.127613, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_market.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_market"], "alias": "not_null_core_market_registered_arbitrum_mainnet_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1318462, "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_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "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": "market", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_market_id"], "alias": "not_null_core_market_registered_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1334822, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "unique_core_market_registered_arbitrum_mainnet_market_id"], "alias": "unique_core_market_registered_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1351202, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_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": 1723584317.1367164, "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": 1723584317.1383069, "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_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_registere_3aa714f691befa9329876e1321ce4907"}, "created_at": 1723584317.1400313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_3aa714f691befa9329876e1321ce4907\") }}", "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_registere_3aa714f691befa9329876e1321ce4907.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_contract"], "alias": "not_null_core_market_registered_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.141604, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64"}, "created_at": 1723584317.1432629, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64\") }}", "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_registere_ce97e23941cfcece9eb1a8b9bdf4cb64.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_block_number"], "alias": "not_null_core_market_registered_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": 1723584317.1448967, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_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.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_event_name"], "alias": "not_null_core_market_registered_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1465025, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e"}, "created_at": 1723584317.1482735, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_arbitrum_mainnet", "attached_node": "model.synthetix.core_market_registered_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_market_registered_arbitrum_mainnet_sender"], "alias": "not_null_core_market_registered_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1522498, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_market_registered_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_contract"], "alias": "not_null_core_pool_created_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1540465, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_sender"], "alias": "not_null_core_pool_created_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1556787, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_pool_created_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1572602, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_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": 1723584317.1588614, "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": 1723584317.1605158, "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_pool_created_arbitrum_mainnet_block_number.184c04858e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_block_number"], "alias": "not_null_core_pool_created_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": 1723584317.1625483, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_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.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_pool_created_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.164175, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_event_name"], "alias": "not_null_core_pool_created_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1657622, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892"}, "created_at": 1723584317.1673882, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_owner.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_owner"], "alias": "not_null_core_pool_created_arbitrum_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1714768, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_pool_created_arbitrum_mainnet_pool_id"], "alias": "not_null_core_pool_created_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.173116, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868"}, "created_at": 1723584317.174745, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_pool_created_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_arbitrum_mainnet", "attached_node": "model.synthetix.core_pool_created_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.178954, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_account_id"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1806278, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e"}, "created_at": 1723584317.1824164, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1865149, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_event_name"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.188164, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2"}, "created_at": 1723584317.1899455, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_contract"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1939368, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_amount"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.1957648, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7"}, "created_at": 1723584317.197403, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_distributor.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_distributor"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.201538, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.203387, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_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": 1723584317.2050128, "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": 1723584317.2066174, "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_claimed_arbitrum_mainnet_pool_id.bd58480578": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id"], "alias": "not_null_core_rewards_claimed_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.208276, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50"}, "created_at": 1723584317.209999, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_claimed_arbitrum_mainnet_block_number"], "alias": "not_null_core_rewards_claimed_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": 1723584317.2140555, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_claimed_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.core_rewards_claimed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584317.2159207, "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": 1723584317.2175717, "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_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_event_name"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2192068, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27"}, "created_at": 1723584317.2208261, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_amount"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2249372, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a"}, "created_at": 1723584317.2265973, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_contract"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2307518, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621"}, "created_at": 1723584317.232423, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621\") }}", "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_distribu_0615a0b17ded5d162f692f079ef20621.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_rewards_distribu_b9de231940d6a64359b041a045f6df44"}, "created_at": 1723584317.2340248, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44\") }}", "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_distribu_b9de231940d6a64359b041a045f6df44.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba"}, "created_at": 1723584317.2356458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba\") }}", "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_distribu_0c83e6d18c229c54ea7814f211652fba.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_block_number"], "alias": "not_null_core_rewards_distributed_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": 1723584317.237345, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_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.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_duration.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_duration"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.23896, "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_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "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": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0"], "alias": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad"}, "created_at": 1723584317.2405927, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_distributor.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_distributor"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2450428, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id"], "alias": "not_null_core_rewards_distributed_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2466547, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab"}, "created_at": 1723584317.2482843, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_rewards_distributed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_arbitrum_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_amount"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2524467, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70"}, "created_at": 1723584317.2541099, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_pool_id"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2582994, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092"}, "created_at": 1723584317.2599533, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_event_name"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2641206, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e"}, "created_at": 1723584317.2657857, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_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": 1723584317.2699313, "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": 1723584317.2715838, "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_burned_arbitrum_mainnet_block_number.9d57cfa9ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_block_number"], "alias": "not_null_core_usd_burned_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": 1723584317.2732239, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_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.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_account_id"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.274838, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e"}, "created_at": 1723584317.2766042, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_burned_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_sender"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2806513, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.282463, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_contract"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2840905, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2857192, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_usd_burned_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2873197, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_burned_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_pool_id"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2889, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b"}, "created_at": 1723584317.2906353, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2947438, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_account_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_account_id"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.2965825, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6"}, "created_at": 1723584317.2982264, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.302289, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_block_number"], "alias": "not_null_core_usd_minted_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": 1723584317.304196, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_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.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_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": 1723584317.3058462, "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": 1723584317.3074834, "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_usd_minted_arbitrum_mainnet_sender.829a4593b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_sender"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.309108, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_amount"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3108318, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740"}, "created_at": 1723584317.312502, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_event_name"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3165467, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946"}, "created_at": 1723584317.3183758, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_arbitrum_mainnet", "attached_node": "model.synthetix.core_usd_minted_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3223453, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_usd_minted_arbitrum_mainnet_contract"], "alias": "not_null_core_usd_minted_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.324471, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_usd_minted_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash"], "alias": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9"}, "created_at": 1723584317.3260808, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9\") }}", "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_liquidatio_2185e560e310ac8c9b339ed46c9526c9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082"}, "created_at": 1723584317.3277092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082\") }}", "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_liquidatio_28327b33172f7d5299eb84c369c67082.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3293018, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e"}, "created_at": 1723584317.3309047, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_event_name"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.33512, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324"}, "created_at": 1723584317.3367672, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_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": 1723584317.3408964, "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": 1723584317.34255, "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_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp"], "alias": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31"}, "created_at": 1723584317.3442073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31\") }}", "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_liquidatio_edbeff2a9e391e647da0aed49fa55c31.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711"}, "created_at": 1723584317.3459504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711\") }}", "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_liquidatio_ed674d5ff714efc416d714e69fc94711.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2"}, "created_at": 1723584317.347645, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data"], "alias": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d"}, "created_at": 1723584317.3518598, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d\") }}", "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_liquidatio_2415782e836c6b669ea8436e64c0849d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "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": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_contract"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3534904, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_block_number"], "alias": "not_null_core_vault_liquidation_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": 1723584317.3551145, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_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.core_vault_liquidation_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_liquidation_arbitrum_mainnet_sender"], "alias": "not_null_core_vault_liquidation_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3567517, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_liquidation_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_ts.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_ts"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3583715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_block_number"], "alias": "not_null_core_vault_collateral_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": 1723584317.360099, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_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.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_pool_id"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3617036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c"}, "created_at": 1723584317.3633578, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3677385, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_mainnet_amount.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_amount"], "alias": "not_null_core_vault_collateral_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3694701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02"}, "created_at": 1723584317.371135, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_collateral_value"], "alias": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022"}, "created_at": 1723584317.375358, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9"}, "created_at": 1723584317.3770192, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_collateral_arbitrum_mainnet_contract_address"], "alias": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e"}, "created_at": 1723584317.3812647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_ts.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_ts"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3829122, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_block_number"], "alias": "not_null_core_vault_debt_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": 1723584317.3845687, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_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.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_pool_id"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3861768, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0"}, "created_at": 1723584317.3879828, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_collateral_type"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3920715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_debt.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_debt"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.3938713, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql", "original_file_path": "models/raw/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "core", "not_null_core_vault_debt_arbitrum_mainnet_contract_address"], "alias": "not_null_core_vault_debt_arbitrum_mainnet_contract_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": 1723584317.3955326, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/mainnet/core/schema.yml/not_null_core_vault_debt_arbitrum_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_debt_arbitrum_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_arbitrum_mainnet", "attached_node": "model.synthetix.core_vault_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_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": 1723584317.418198, "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": 1723584317.4199138, "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_committed_arbitrum_mainnet_event_name.364a2ed7fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_event_name"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4215596, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20"}, "created_at": 1723584317.4232242, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_sender"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4278584, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4295137, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_referrer.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_referrer"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.431311, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_amount_provided.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_amount_provided"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4329352, "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_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "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": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a"}, "created_at": 1723584317.4345555, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.43874, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_contract"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4403825, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_market_id"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4420075, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3"}, "created_at": 1723584317.4436884, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_block_number"], "alias": "not_null_spot_order_committed_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": 1723584317.4478397, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_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.spot_order_committed_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_committed_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_mainnet_order_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_committed_arbitrum_mainnet_order_type"], "alias": "not_null_spot_order_committed_arbitrum_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.449454, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_committed_arbitrum_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038"}, "created_at": 1723584317.4511352, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_settler.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_settler"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4553862, "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_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "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": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_block_number"], "alias": "not_null_spot_order_settled_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": 1723584317.4570491, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_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.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4588351, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4604752, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_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": 1723584317.462068, "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": 1723584317.4636836, "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_settled_arbitrum_mainnet_order_type.cc9846cfde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_order_type.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_order_type"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4652908, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_contract"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.466999, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_price.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_price"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.468633, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103"}, "created_at": 1723584317.4702342, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_market_id"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4744394, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445"}, "created_at": 1723584317.476121, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_collected_fees"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.480335, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e"}, "created_at": 1723584317.481992, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_settled_arbitrum_mainnet_event_name"], "alias": "not_null_spot_order_settled_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4861681, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d"}, "created_at": 1723584317.4878933, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_settled_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_settled_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "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": 1723584317.492959, "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": 1723584317.494588, "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_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4962244, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.4978185, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_sender.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_sender"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.499571, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_contract"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5011804, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_event_name"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5027757, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9"}, "created_at": 1723584317.5044181, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_market_id"], "alias": "not_null_spot_order_cancelled_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5088668, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70"}, "created_at": 1723584317.510503, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_order_cancelled_arbitrum_mainnet_block_number"], "alias": "not_null_spot_order_cancelled_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": 1723584317.5146668, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_order_cancelled_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.spot_order_cancelled_arbitrum_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584317.5163243, "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": 1723584317.5179248, "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_registered_arbitrum_mainnet_block_timestamp.155e02a96a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5197115, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5213132, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8"}, "created_at": 1723584317.5229204, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_registered_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": 1723584317.5271125, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_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.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5287645, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address"], "alias": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74"}, "created_at": 1723584317.530389, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74\") }}", "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_24c43a4e864a0810c9cb52d5d564cd74.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "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": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_registered_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.532036, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e"}, "created_at": 1723584317.5337973, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_spot_synth_registered_9666aca0705c3f058c05e5046e31f743"}, "created_at": 1723584317.5381804, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743\") }}", "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_9666aca0705c3f058c05e5046e31f743.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_registered_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5400054, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3"}, "created_at": 1723584317.5416422, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.545715, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5475478, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411"}, "created_at": 1723584317.5491807, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_bought_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": 1723584317.553425, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_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.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.555055, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_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": 1723584317.556688, "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": 1723584317.5583026, "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_bought_arbitrum_mainnet_price.b7069dc105": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_price.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_price"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5599356, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f"}, "created_at": 1723584317.5616627, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5657036, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_referrer.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_referrer"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5675395, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_bought_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_bought_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.569164, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88"}, "created_at": 1723584317.570787, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_bought_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.575627, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5"}, "created_at": 1723584317.5772996, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5818548, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5835533, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2"}, "created_at": 1723584317.5851765, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5893679, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_referrer.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_referrer"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5910048, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_sold_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": 1723584317.592659, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_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.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_price.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_price"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.5944152, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930"}, "created_at": 1723584317.596054, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6001492, "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_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "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": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4"}, "created_at": 1723584317.6019773, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6060042, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f"}, "created_at": 1723584317.6078548, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584317.6118839, "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": 1723584317.6137278, "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_sold_arbitrum_mainnet_contract.7e747f7197": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_sold_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_sold_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6153836, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_sold_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "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": 1723584317.616996, "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": 1723584317.6186004, "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_wrapped_arbitrum_mainnet_transaction_hash.470b375862": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6202319, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6219265, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183"}, "created_at": 1723584317.6235354, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6278472, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.629517, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da"}, "created_at": 1723584317.6311884, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6356897, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_wrapped_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": 1723584317.6373289, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_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.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected"], "alias": "not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6389458, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8"}, "created_at": 1723584317.64058, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_wrapped_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6447904, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6464415, "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_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "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": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418"}, "created_at": 1723584317.6481225, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6522844, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a"}, "created_at": 1723584317.6539264, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6583827, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771"}, "created_at": 1723584317.660043, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number"], "alias": "not_null_spot_synth_unwrapped_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": 1723584317.6645122, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_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.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.666129, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6677885, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_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": 1723584317.6695402, "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": 1723584317.6711688, "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_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6727693, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql", "original_file_path": "models/raw/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "fqn": ["synthetix", "raw", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c"}, "created_at": 1723584317.6743758, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_mainnet\".\"spot_synth_unwrapped_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584317.6808138, "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": 1723584317.682646, "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.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql", "original_file_path": "models/raw/arbitrum/sepolia/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1"], "alias": "dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.6848536, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/schema.yml/dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"blocks_arbitrum_sepolia\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_arbitrum_sepolia", "attached_node": "model.synthetix.blocks_arbitrum_sepolia", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_owner.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_owner"], "alias": "not_null_core_account_created_arbitrum_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7153683, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_account_id"], "alias": "not_null_core_account_created_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7170923, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a"}, "created_at": 1723584317.7187657, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584317.7229826, "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": 1723584317.7246392, "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_account_created_arbitrum_sepolia_transaction_hash.59070c07aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_account_created_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7262304, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_block_number"], "alias": "not_null_core_account_created_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": 1723584317.7280219, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_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.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_account_created_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7296312, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_event_name"], "alias": "not_null_core_account_created_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.731253, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229"}, "created_at": 1723584317.7328858, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229\") }}", "language": "sql", "refs": [{"name": "core_account_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_account_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_account_created_arbitrum_sepolia_contract"], "alias": "not_null_core_account_created_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7370112, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_account_created_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_account_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_contract"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7386746, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_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": 1723584317.7403185, "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": 1723584317.7425444, "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_delegation_updated_arbitrum_sepolia_account_id.689f7da996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_account_id"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7441897, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9"}, "created_at": 1723584317.745812, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9"}, "created_at": 1723584317.7500014, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9\") }}", "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_updat_fced6f6a07ae6cf4cc4ca4aec59538e9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_pool_id"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7516556, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3"}, "created_at": 1723584317.7532794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_sender"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.757498, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0"}, "created_at": 1723584317.7591736, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0\") }}", "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_updat_1d8fb505dff149b0a79d18d14d459cb0.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_block_number"], "alias": "not_null_core_delegation_updated_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": 1723584317.7607882, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_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.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_leverage.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_leverage"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7625291, "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_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "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": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403"}, "created_at": 1723584317.7641995, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\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 leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125"}, "created_at": 1723584317.768276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125\") }}", "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_updat_f5c10a02007f076c72c065e66ac6c125.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_amount"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7701235, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2"}, "created_at": 1723584317.7717922, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_delegation_updated_arbitrum_sepolia_event_name"], "alias": "not_null_core_delegation_updated_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7759843, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08"}, "created_at": 1723584317.7776423, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_delegation_updated_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_deposited_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7818072, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_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": 1723584317.7834609, "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": 1723584317.7850795, "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_deposited_arbitrum_sepolia_contract.98776e9523": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_contract"], "alias": "not_null_core_deposited_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7866864, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_event_name"], "alias": "not_null_core_deposited_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.788326, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited"], "alias": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9"}, "created_at": 1723584317.7900388, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_deposited_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7940087, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_account_id"], "alias": "not_null_core_deposited_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.7958612, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764"}, "created_at": 1723584317.797497, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_sender"], "alias": "not_null_core_deposited_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.801521, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_deposited_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8033333, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_block_number"], "alias": "not_null_core_deposited_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": 1723584317.8051093, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_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.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_deposited_arbitrum_sepolia_token_amount"], "alias": "not_null_core_deposited_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8067431, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0"}, "created_at": 1723584317.808424, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0\") }}", "language": "sql", "refs": [{"name": "core_deposited_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_deposited_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_arbitrum_sepolia", "attached_node": "model.synthetix.core_deposited_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8126924, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_contract"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8143425, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_block_number"], "alias": "not_null_core_withdrawn_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": 1723584317.8160198, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_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.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8178716, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_token_amount"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8195744, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034"}, "created_at": 1723584317.8212166, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8257444, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_account_id"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.82738, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a"}, "created_at": 1723584317.8289979, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584317.83328, "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": 1723584317.8349268, "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_withdrawn_arbitrum_sepolia_sender.b2d53e6596": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_sender"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.836571, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_withdrawn_arbitrum_sepolia_event_name"], "alias": "not_null_core_withdrawn_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8383217, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652"}, "created_at": 1723584317.8399765, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_arbitrum_sepolia", "attached_node": "model.synthetix.core_withdrawn_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_pool_id"], "alias": "not_null_core_liquidation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8440948, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f"}, "created_at": 1723584317.8459656, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_liquidation_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8500323, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_block_number"], "alias": "not_null_core_liquidation_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": 1723584317.8518727, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_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.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_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": 1723584317.8535044, "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": 1723584317.8551118, "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_liquidation_arbitrum_sepolia_contract.b3848813ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_contract"], "alias": "not_null_core_liquidation_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8567343, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_event_name"], "alias": "not_null_core_liquidation_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8583422, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e"}, "created_at": 1723584317.860103, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_liquidation_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8640954, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_sender"], "alias": "not_null_core_liquidation_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.865899, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_account_id"], "alias": "not_null_core_liquidation_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8675103, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be"}, "created_at": 1723584317.8691273, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_liquidation_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8733037, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id"], "alias": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a"}, "created_at": 1723584317.8749342, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a\") }}", "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_arbi_16feddd4f091f1c8b33b9fc2c628662a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90"}, "created_at": 1723584317.8765883, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90\") }}", "language": "sql", "refs": [{"name": "core_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_liquidation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584317.8808362, "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": 1723584317.8824735, "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_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_market_updated_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.884136, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_block_number"], "alias": "not_null_core_market_updated_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": 1723584317.8858721, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_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.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_market_updated_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.88751, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_contract"], "alias": "not_null_core_market_updated_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8891327, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_event_name"], "alias": "not_null_core_market_updated_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8907225, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91"}, "created_at": 1723584317.8924642, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_market_id"], "alias": "not_null_core_market_updated_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.8966153, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64"}, "created_at": 1723584317.8982766, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_net_issuance.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_net_issuance"], "alias": "not_null_core_market_updated_arbitrum_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9024777, "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_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "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": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value"], "alias": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b"}, "created_at": 1723584317.9049077, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b\") }}", "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_a_f6b087458c0e22c04274bb81951dc41b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "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": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c"}, "created_at": 1723584317.9073145, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_sender"], "alias": "not_null_core_market_updated_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9122138, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_market_updated_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9138355, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_credit_capacity.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_credit_capacity"], "alias": "not_null_core_market_updated_arbitrum_sepolia_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9154751, "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_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "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": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_updated_arbitrum_sepolia_token_amount"], "alias": "not_null_core_market_updated_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.917217, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "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": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83"}, "created_at": 1723584317.9188519, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83\") }}", "language": "sql", "refs": [{"name": "core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_market.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_market"], "alias": "not_null_core_market_registered_arbitrum_sepolia_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9230418, "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_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "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": "market", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_market_id"], "alias": "not_null_core_market_registered_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9247577, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "unique_core_market_registered_arbitrum_sepolia_market_id"], "alias": "unique_core_market_registered_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.926383, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_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": 1723584317.9280076, "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": 1723584317.92961, "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_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_registere_c57a86870f109ad96c0d360987a8207c"}, "created_at": 1723584317.9313333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c\") }}", "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_registere_c57a86870f109ad96c0d360987a8207c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_contract"], "alias": "not_null_core_market_registered_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9329512, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25"}, "created_at": 1723584317.9345615, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25\") }}", "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_registere_b02c7bb3e6bd5839f3bc17265cd86d25.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_block_number"], "alias": "not_null_core_market_registered_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": 1723584317.9361825, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_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.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_event_name"], "alias": "not_null_core_market_registered_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9378784, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55"}, "created_at": 1723584317.9395168, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55\") }}", "language": "sql", "refs": [{"name": "core_market_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_arbitrum_sepolia", "attached_node": "model.synthetix.core_market_registered_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_market_registered_arbitrum_sepolia_sender"], "alias": "not_null_core_market_registered_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9435308, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_market_registered_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_contract"], "alias": "not_null_core_pool_created_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9453459, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_sender"], "alias": "not_null_core_pool_created_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9469545, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_pool_created_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.948601, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_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": 1723584317.9501953, "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": 1723584317.9519248, "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_pool_created_arbitrum_sepolia_block_number.28a66d0e74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_block_number"], "alias": "not_null_core_pool_created_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": 1723584317.9535336, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_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.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_pool_created_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9551804, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_event_name"], "alias": "not_null_core_pool_created_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9568787, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668"}, "created_at": 1723584317.9585423, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_owner.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_owner"], "alias": "not_null_core_pool_created_arbitrum_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.962616, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_pool_created_arbitrum_sepolia_pool_id"], "alias": "not_null_core_pool_created_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9642773, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519"}, "created_at": 1723584317.9660268, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519\") }}", "language": "sql", "refs": [{"name": "core_pool_created_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_pool_created_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_arbitrum_sepolia", "attached_node": "model.synthetix.core_pool_created_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.970348, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_account_id"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.972056, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254"}, "created_at": 1723584317.9739077, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9781504, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_event_name"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.980024, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798"}, "created_at": 1723584317.981688, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_contract"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.985874, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_amount"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9875278, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064"}, "created_at": 1723584317.989276, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_distributor.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_distributor"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.993849, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584317.9955223, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_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": 1723584317.9971325, "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": 1723584317.998748, "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_claimed_arbitrum_sepolia_pool_id.a883be69bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id"], "alias": "not_null_core_rewards_claimed_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0004983, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df"}, "created_at": 1723584318.0021224, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_claimed_arbitrum_sepolia_block_number"], "alias": "not_null_core_rewards_claimed_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": 1723584318.0064745, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_claimed_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.core_rewards_claimed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584318.0081856, "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": 1723584318.0098207, "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_rewards_distributed_arbitrum_sepolia_event_name.1803af1787": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_event_name"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.011494, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93"}, "created_at": 1723584318.0131538, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_amount"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0173004, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320"}, "created_at": 1723584318.018951, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_contract"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0231855, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa"}, "created_at": 1723584318.0248365, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa\") }}", "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_distribu_d358d4d6fc350302f646e173f81553fa.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3"}, "created_at": 1723584318.0264459, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3\") }}", "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_distribu_141ce5a090bb2655851c64ccf521f1c3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f"}, "created_at": 1723584318.0282183, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f\") }}", "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_distribu_f554e6fcd674a4f91521cfda5e60dd7f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_block_number"], "alias": "not_null_core_rewards_distributed_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": 1723584318.029813, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_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.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_duration.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_duration"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0314276, "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_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "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": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0"], "alias": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229"}, "created_at": 1723584318.0330336, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_distributor.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_distributor"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0372093, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id"], "alias": "not_null_core_rewards_distributed_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0388448, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1"}, "created_at": 1723584318.0406044, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_rewards_distributed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_arbitrum_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_amount"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0447602, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666"}, "created_at": 1723584318.046411, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_pool_id"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.050596, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f"}, "created_at": 1723584318.0522902, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_event_name"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0564976, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7"}, "created_at": 1723584318.0581605, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_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": 1723584318.062274, "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": 1723584318.0639434, "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_burned_arbitrum_sepolia_block_number.a36a988eb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_block_number"], "alias": "not_null_core_usd_burned_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": 1723584318.065563, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_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.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_account_id"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0671995, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3"}, "created_at": 1723584318.0690126, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_burned_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_sender"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0730584, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0751953, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_contract"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0768023, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.078377, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_usd_burned_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0799992, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_burned_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_pool_id"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0815701, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245"}, "created_at": 1723584318.0833156, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0873177, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_account_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_account_id"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0890875, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb"}, "created_at": 1723584318.0907123, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.0947545, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_block_number"], "alias": "not_null_core_usd_minted_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": 1723584318.0965812, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_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.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_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": 1723584318.0981908, "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": 1723584318.0997958, "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_usd_minted_arbitrum_sepolia_sender.b183e1c56f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_sender"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1013796, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_amount"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1030412, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd"}, "created_at": 1723584318.1046588, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_event_name"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1088393, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4"}, "created_at": 1723584318.1104856, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_arbitrum_sepolia", "attached_node": "model.synthetix.core_usd_minted_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1144295, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_usd_minted_arbitrum_sepolia_contract"], "alias": "not_null_core_usd_minted_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.11624, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_usd_minted_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash"], "alias": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506"}, "created_at": 1723584318.1178625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506\") }}", "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_liquidatio_b5e91954c312abdf474f65aa83e48506.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507"}, "created_at": 1723584318.1194754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507\") }}", "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_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1210608, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9"}, "created_at": 1723584318.122761, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_event_name"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1267598, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77"}, "created_at": 1723584318.1284297, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_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": 1723584318.1325214, "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": 1723584318.1341445, "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_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp"], "alias": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97"}, "created_at": 1723584318.1359017, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97\") }}", "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_liquidatio_8474e116a366423f34bd32de6582bf97.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c"}, "created_at": 1723584318.1375017, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c\") }}", "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_liquidatio_3e2565718ac00c290af7457ec26b233c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a"}, "created_at": 1723584318.139147, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data"], "alias": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc"}, "created_at": 1723584318.143376, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc\") }}", "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_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "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": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_contract"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1450002, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_block_number"], "alias": "not_null_core_vault_liquidation_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": 1723584318.1466403, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_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.core_vault_liquidation_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_liquidation_arbitrum_sepolia_sender"], "alias": "not_null_core_vault_liquidation_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1482918, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_liquidation_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_ts.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_ts"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1499844, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_block_number"], "alias": "not_null_core_vault_collateral_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": 1723584318.1516097, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_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.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_pool_id"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.153197, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3"}, "created_at": 1723584318.1547976, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1591356, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_arbitrum_sepolia_amount.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_amount"], "alias": "not_null_core_vault_collateral_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.160762, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089"}, "created_at": 1723584318.1623704, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_collateral_value"], "alias": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15"}, "created_at": 1723584318.1665092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8"}, "created_at": 1723584318.168164, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_arbitrum_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_collateral_arbitrum_sepolia_contract_address"], "alias": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757"}, "created_at": 1723584318.1723216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_ts.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_ts"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1739402, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_block_number"], "alias": "not_null_core_vault_debt_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": 1723584318.175564, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_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.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_pool_id"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1773107, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23"}, "created_at": 1723584318.1789525, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_collateral_type"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1830149, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_debt.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_debt"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.1848578, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_arbitrum_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql", "original_file_path": "models/raw/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "core", "not_null_core_vault_debt_arbitrum_sepolia_contract_address"], "alias": "not_null_core_vault_debt_arbitrum_sepolia_contract_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": 1723584318.186482, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/core/schema.yml/not_null_core_vault_debt_arbitrum_sepolia_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_debt_arbitrum_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_arbitrum_sepolia", "attached_node": "model.synthetix.core_vault_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_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": 1723584318.2025867, "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": 1723584318.2042637, "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_committed_arbitrum_sepolia_event_name.10fb9fe2fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_event_name"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.205862, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6"}, "created_at": 1723584318.2076678, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_sender"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2117898, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2134104, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_referrer.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_referrer"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2151961, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_amount_provided.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_amount_provided"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2167966, "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_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "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": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c"}, "created_at": 1723584318.218407, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.222563, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_contract"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2242198, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_market_id"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2258437, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8"}, "created_at": 1723584318.2274947, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_block_number"], "alias": "not_null_spot_order_committed_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": 1723584318.2316191, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_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.spot_order_committed_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_committed_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_arbitrum_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_arbitrum_sepolia_order_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_committed_arbitrum_sepolia_order_type"], "alias": "not_null_spot_order_committed_arbitrum_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2332513, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_committed_arbitrum_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352"}, "created_at": 1723584318.2350075, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_settler.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_settler"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2390683, "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_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "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": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_block_number"], "alias": "not_null_spot_order_settled_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": 1723584318.2407286, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_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.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.242886, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2445207, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_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": 1723584318.2461314, "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": 1723584318.2477489, "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_settled_arbitrum_sepolia_order_type.ce3ce512a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_order_type.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_order_type"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2494512, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_contract"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2510407, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_price.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_price"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.252658, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1"}, "created_at": 1723584318.2542605, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_market_id"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2583878, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f"}, "created_at": 1723584318.2600543, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_collected_fees"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.264198, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473"}, "created_at": 1723584318.265851, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_settled_arbitrum_sepolia_event_name"], "alias": "not_null_spot_order_settled_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2700093, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f"}, "created_at": 1723584318.271684, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_settled_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_settled_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "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": 1723584318.2757924, "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": 1723584318.2774124, "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_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.279022, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2806356, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_sender.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_sender"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2823126, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_contract"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.283911, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_event_name"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.2855055, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498"}, "created_at": 1723584318.2871282, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_market_id"], "alias": "not_null_spot_order_cancelled_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.291237, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea"}, "created_at": 1723584318.2928767, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_order_cancelled_arbitrum_sepolia_block_number"], "alias": "not_null_spot_order_cancelled_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": 1723584318.2971165, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_order_cancelled_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.spot_order_cancelled_arbitrum_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584318.2987509, "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": 1723584318.3004029, "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_registered_arbitrum_sepolia_block_timestamp.8ad856419d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3020155, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3037784, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c"}, "created_at": 1723584318.3054597, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_registered_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": 1723584318.3096542, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_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.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3112977, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address"], "alias": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105"}, "created_at": 1723584318.3129053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105\") }}", "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_2fb01859ed6fb2d73c15c31bcb3fc105.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "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": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_registered_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.314582, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec"}, "created_at": 1723584318.3162673, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533"}, "created_at": 1723584318.320336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533\") }}", "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_6da863fc8d9528f5a1874d8fcd090533.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_registered_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.321979, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54"}, "created_at": 1723584318.324202, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3281932, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3298013, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f"}, "created_at": 1723584318.3316221, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_bought_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": 1723584318.335645, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_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.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3374102, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_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": 1723584318.339016, "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": 1723584318.340678, "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_bought_arbitrum_sepolia_price.9dde4ea814": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_price.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_price"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3423111, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55"}, "created_at": 1723584318.3439267, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.348053, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_referrer.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_referrer"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3496683, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_bought_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_bought_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3514433, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10"}, "created_at": 1723584318.3530757, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_bought_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3570697, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e"}, "created_at": 1723584318.3589244, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3629003, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.364743, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e"}, "created_at": 1723584318.3663714, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3705618, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_referrer.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_referrer"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3722355, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_sold_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": 1723584318.3738394, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_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.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_price.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_price"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3754873, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05"}, "created_at": 1723584318.3771465, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3813741, "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_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "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": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09"}, "created_at": 1723584318.3830223, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3872364, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c"}, "created_at": 1723584318.3888845, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584318.3930821, "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": 1723584318.394738, "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_sold_arbitrum_sepolia_contract.d5f31e0816": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_sold_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_sold_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.3963647, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_sold_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "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": 1723584318.3979797, "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": 1723584318.3997333, "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_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4013443, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4029334, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c"}, "created_at": 1723584318.4046006, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.409041, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4106722, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697"}, "created_at": 1723584318.412325, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.416408, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_wrapped_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": 1723584318.4180226, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_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.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected"], "alias": "not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4197922, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad"}, "created_at": 1723584318.4214172, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_wrapped_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.425447, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4272692, "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_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "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": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863"}, "created_at": 1723584318.4289217, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4330728, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292"}, "created_at": 1723584318.434725, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4387603, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865"}, "created_at": 1723584318.4406226, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number"], "alias": "not_null_spot_synth_unwrapped_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": 1723584318.4446187, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_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.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4464185, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4480712, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_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": 1723584318.4496663, "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": 1723584318.4512773, "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_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.4528594, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql", "original_file_path": "models/raw/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "fqn": ["synthetix", "raw", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7"}, "created_at": 1723584318.4545655, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_arbitrum_sepolia\".\"spot_synth_unwrapped_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_arbitrum_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584318.474455, "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": 1723584318.476177, "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.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_base_mainnet_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql", "original_file_path": "models/raw/base/mainnet/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "fqn": ["synthetix", "raw", "base", "mainnet", "dbt_utils_recency_blocks_base_mainnet_hour__ts__1"], "alias": "dbt_utils_recency_blocks_base_mainnet_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.477816, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/schema.yml/dbt_utils_recency_blocks_base_mainnet_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"blocks_base_mainnet\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_base_mainnet", "attached_node": "model.synthetix.blocks_base_mainnet", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584318.5092947, "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": 1723584318.5110636, "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_account_created_base_mainnet_event_name.0ab1553ed8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_event_name"], "alias": "not_null_perp_account_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5127327, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated"], "alias": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270"}, "created_at": 1723584318.5143576, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_block_number"], "alias": "not_null_perp_account_created_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": 1723584318.518485, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_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.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_block_timestamp"], "alias": "not_null_perp_account_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.520165, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_owner.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_owner"], "alias": "not_null_perp_account_created_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5217779, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_account_id"], "alias": "not_null_perp_account_created_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5233874, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9"}, "created_at": 1723584318.525083, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_created_base_mainnet", "attached_node": "model.synthetix.perp_account_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_transaction_hash"], "alias": "not_null_perp_account_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5291634, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_created_base_mainnet_contract"], "alias": "not_null_perp_account_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5309699, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_account_created_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": 1723584318.5326393, "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_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": 1723584318.5342457, "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.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_block_number"], "alias": "not_null_perp_order_committed_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": 1723584318.535869, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_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.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_block_timestamp"], "alias": "not_null_perp_order_committed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5374532, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_transaction_hash"], "alias": "not_null_perp_order_committed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5391567, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_contract"], "alias": "not_null_perp_order_committed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5407462, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_event_name"], "alias": "not_null_perp_order_committed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.542316, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted"], "alias": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68"}, "created_at": 1723584318.5439436, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_market_id"], "alias": "not_null_perp_order_committed_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5480652, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304"}, "created_at": 1723584318.5497131, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_committed_base_mainnet_account_id"], "alias": "not_null_perp_order_committed_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.553899, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257"}, "created_at": 1723584318.5555537, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_committed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_committed_base_mainnet", "attached_node": "model.synthetix.perp_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_contract"], "alias": "not_null_perp_order_settled_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5598035, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_event_name"], "alias": "not_null_perp_order_settled_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5614176, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled"], "alias": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7"}, "created_at": 1723584318.5630224, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_account_id"], "alias": "not_null_perp_order_settled_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5671751, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29"}, "created_at": 1723584318.568849, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_market_id"], "alias": "not_null_perp_order_settled_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5734234, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9"}, "created_at": 1723584318.575028, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_collected_fees"], "alias": "not_null_perp_order_settled_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5791748, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd"}, "created_at": 1723584318.5808084, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_transaction_hash"], "alias": "not_null_perp_order_settled_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.584975, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_block_timestamp"], "alias": "not_null_perp_order_settled_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5865922, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_order_settled_base_mainnet_block_number"], "alias": "not_null_perp_order_settled_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": 1723584318.5882266, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_order_settled_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.perp_order_settled_base_mainnet", "attached_node": "model.synthetix.perp_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584318.5898244, "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_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": 1723584318.5915394, "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_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": 1723584318.5931425, "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_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": 1723584318.594729, "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.not_null_perp_market_updated_base_mainnet_block_number.3088915c67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_block_number"], "alias": "not_null_perp_market_updated_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": 1723584318.5963433, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_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.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_block_timestamp"], "alias": "not_null_perp_market_updated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5979555, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_transaction_hash"], "alias": "not_null_perp_market_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.5996912, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_contract"], "alias": "not_null_perp_market_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6012726, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_event_name"], "alias": "not_null_perp_market_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.602839, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated"], "alias": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3"}, "created_at": 1723584318.6044722, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_market_id"], "alias": "not_null_perp_market_updated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6089008, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0"}, "created_at": 1723584318.6105382, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_price"], "alias": "not_null_perp_market_updated_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6146958, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6"}, "created_at": 1723584318.6163752, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_mainnet_interest_rate.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_updated_base_mainnet_interest_rate"], "alias": "not_null_perp_market_updated_base_mainnet_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6205769, "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_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "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": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419"}, "created_at": 1723584318.6222272, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_market_updated_base_mainnet", "attached_node": "model.synthetix.perp_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_account_id"], "alias": "not_null_perp_position_liquidated_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.626391, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650"}, "created_at": 1723584318.6281157, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_market_id"], "alias": "not_null_perp_position_liquidated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6323085, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83"}, "created_at": 1723584318.6339397, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584318.6381168, "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_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": 1723584318.639772, "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.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_transaction_hash"], "alias": "not_null_perp_position_liquidated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.641389, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_current_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_current_position_size"], "alias": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c"}, "created_at": 1723584318.6429987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c\") }}", "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_liquida_b28667496979508a7c6e6f6dfd67a51c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect current_position_size\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere current_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "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": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0"], "alias": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e"}, "created_at": 1723584318.644741, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not current_position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_event_name"], "alias": "not_null_perp_position_liquidated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6487691, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated"], "alias": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057"}, "created_at": 1723584318.650954, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_position__c6beb023579188542a2b190c4dafc057\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_position__c6beb023579188542a2b190c4dafc057.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PositionLiquidated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PositionLiquidated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_block_number"], "alias": "not_null_perp_position_liquidated_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": 1723584318.6553156, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_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.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_amount_liquidated"], "alias": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_position_liquida_e894eb4d26a331b04c111a86938cef02"}, "created_at": 1723584318.6571276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02\") }}", "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_liquida_e894eb4d26a331b04c111a86938cef02.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "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": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018"}, "created_at": 1723584318.6587627, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.perp_position_liquidated_base_mainnet", "attached_node": "model.synthetix.perp_position_liquidated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_contract"], "alias": "not_null_perp_position_liquidated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6628096, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_position_liquidated_base_mainnet_block_timestamp"], "alias": "not_null_perp_position_liquidated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6646369, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_position_liquidated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_position_liquidated_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": 1723584318.666257, "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_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": 1723584318.6678748, "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.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_account_id"], "alias": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5"}, "created_at": 1723584318.6694567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5\") }}", "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_liquidat_5ca1ee915e50ae956a86376e430f8cc5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0"}, "created_at": 1723584318.6711617, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_block_number"], "alias": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1"}, "created_at": 1723584318.675166, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1\") }}", "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_liquidat_3991f363cc656acdc280878f8f73f7f1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_mainnet_reward.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_reward"], "alias": "not_null_perp_account_liquidation_attempt_base_mainnet_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6769958, "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_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect reward\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "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": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0"], "alias": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0"}, "created_at": 1723584318.6786606, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp"], "alias": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb"}, "created_at": 1723584318.682666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb\") }}", "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_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_contract"], "alias": "not_null_perp_account_liquidation_attempt_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6844633, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_event_name"], "alias": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45"}, "created_at": 1723584318.6861038, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45\") }}", "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_liquidat_5ac779aa2f2d2fc26bae612c1644eb45.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt"], "alias": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61"}, "created_at": 1723584318.687751, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountLiquidationAttempt'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_liquidation_attempt_base_mainnet", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountLiquidationAttempt"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash"], "alias": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f"}, "created_at": 1723584318.6923215, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f\") }}", "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_liquidat_7991200a41f198464166c7ad5413bb1f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation"], "alias": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00"}, "created_at": 1723584318.6939685, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00\") }}", "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_liquidat_c09c4b146c41fe063ab18d453eccdf00.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect full_liquidation\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_liquidation_attempt_base_mainnet\"\nwhere full_liquidation is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "full_liquidation", "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": "full_liquidation", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_block_timestamp"], "alias": "not_null_perp_collateral_modified_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.695664, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_contract"], "alias": "not_null_perp_collateral_modified_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6973946, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_event_name"], "alias": "not_null_perp_collateral_modified_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.6990058, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified"], "alias": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4"}, "created_at": 1723584318.7006478, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_block_number"], "alias": "not_null_perp_collateral_modified_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": 1723584318.7051518, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_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.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_synth_market_id"], "alias": "not_null_perp_collateral_modified_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.706782, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda"}, "created_at": 1723584318.7084541, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584318.712657, "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_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": 1723584318.7142794, "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.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_sender"], "alias": "not_null_perp_collateral_modified_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7159085, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_account_id"], "alias": "not_null_perp_collateral_modified_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.71763, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b"}, "created_at": 1723584318.7192757, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_collateral_modified_base_mainnet_transaction_hash"], "alias": "not_null_perp_collateral_modified_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7233198, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_collateral_modified_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_block_timestamp"], "alias": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051"}, "created_at": 1723584318.725129, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051\") }}", "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_e_10da57e3dd965c93c9a634fba1bbc051.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "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": 1723584318.7266986, "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_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": 1723584318.7283158, "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.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_block_number"], "alias": "not_null_perp_previous_order_expired_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": 1723584318.7298765, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_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.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_market_id"], "alias": "not_null_perp_previous_order_expired_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7318308, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3"}, "created_at": 1723584318.7334278, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_event_name"], "alias": "not_null_perp_previous_order_expired_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7376356, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired"], "alias": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5"}, "created_at": 1723584318.7393482, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_transaction_hash"], "alias": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175"}, "created_at": 1723584318.743867, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175\") }}", "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_e_fe68f0f2547780fe942fbab172b4b175.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_account_id"], "alias": "not_null_perp_previous_order_expired_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7455127, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07"}, "created_at": 1723584318.7471423, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_previous_order_expired_base_mainnet_contract"], "alias": "not_null_perp_previous_order_expired_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7512884, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_previous_order_expired_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_market_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_market_name"], "alias": "not_null_perp_market_created_base_mainnet_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.752918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_market_created_base_mainnet_id"], "alias": "unique_perp_market_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": 1723584318.7545533, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_market_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_market_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_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_id"], "alias": "not_null_perp_market_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": 1723584318.7561617, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_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_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_market_symbol.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_market_symbol"], "alias": "not_null_perp_market_created_base_mainnet_market_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": 1723584318.7578547, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_event_name"], "alias": "not_null_perp_market_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7594993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated"], "alias": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517"}, "created_at": 1723584318.7611187, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_block_number"], "alias": "not_null_perp_market_created_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": 1723584318.7656114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_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.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_block_timestamp"], "alias": "not_null_perp_market_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7672505, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_contract"], "alias": "not_null_perp_market_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7688553, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_perps_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_perps_market_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_perps_market_id"], "alias": "not_null_perp_market_created_base_mainnet_perps_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.770468, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_perps_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect perps_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere perps_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4"}, "created_at": 1723584318.772243, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not perps_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_market_created_base_mainnet_transaction_hash"], "alias": "not_null_perp_market_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7763066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_market_created_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_market_created_base_mainnet", "attached_node": "model.synthetix.perp_market_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_event_name"], "alias": "not_null_perp_interest_charged_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7781203, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged"], "alias": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557"}, "created_at": 1723584318.7797918, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__9a5088d02872b4bc8893361776515557\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__9a5088d02872b4bc8893361776515557.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_contract"], "alias": "not_null_perp_interest_charged_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7842593, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_transaction_hash"], "alias": "not_null_perp_interest_charged_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7859213, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_block_timestamp"], "alias": "not_null_perp_interest_charged_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7875538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_interest_charged_base_mainnet_id"], "alias": "unique_perp_interest_charged_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": 1723584318.789159, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_charged_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_interest_charged_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_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_id"], "alias": "not_null_perp_interest_charged_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": 1723584318.7907476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_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_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_block_number"], "alias": "not_null_perp_interest_charged_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": 1723584318.792476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_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.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_charged_base_mainnet_account_id"], "alias": "not_null_perp_interest_charged_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.7940602, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_charged_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7"}, "created_at": 1723584318.7956676, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_charged_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_block_timestamp"], "alias": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4"}, "created_at": 1723584318.7998638, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_event_name"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8015132, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated"], "alias": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255"}, "created_at": 1723584318.8031604, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestRateUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestRateUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_transaction_hash"], "alias": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785"}, "created_at": 1723584318.807673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_interest_rate"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8093114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64"}, "created_at": 1723584318.8109283, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_block_number"], "alias": "not_null_perp_interest_rate_updated_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": 1723584318.8154094, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_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.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_rate_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_rate_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "unique_perp_interest_rate_updated_base_mainnet_id"], "alias": "unique_perp_interest_rate_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": 1723584318.8170552, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/unique_perp_interest_rate_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_interest_rate_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_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_id"], "alias": "not_null_perp_interest_rate_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": 1723584318.8186455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_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_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_contract"], "alias": "not_null_perp_interest_rate_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8203952, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_updated_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_mainnet_super_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "not_null_perp_interest_rate_updated_base_mainnet_super_market_id"], "alias": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_interest_rate_up_308696c4605075a9f0960b8219cae796"}, "created_at": 1723584318.8219764, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect super_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\nwhere super_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql", "original_file_path": "models/raw/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "fqn": ["synthetix", "raw", "base", "mainnet", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae"}, "created_at": 1723584318.823585, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"perp_interest_rate_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not super_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_mainnet", "attached_node": "model.synthetix.perp_interest_rate_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_id"], "alias": "not_null_buyback_processed_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": 1723584318.8305097, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_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.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_buyback_processed_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_buyback_processed_base_mainnet_id.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "unique_buyback_processed_base_mainnet_id"], "alias": "unique_buyback_processed_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": 1723584318.8321774, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/unique_buyback_processed_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\".\"buyback_processed_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.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_block_number"], "alias": "not_null_buyback_processed_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": 1723584318.8337765, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_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.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_block_timestamp"], "alias": "not_null_buyback_processed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.835589, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_transaction_hash"], "alias": "not_null_buyback_processed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8371978, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_event_name"], "alias": "not_null_buyback_processed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8388002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed"], "alias": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be"}, "created_at": 1723584318.840501, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'BuybackProcessed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["BuybackProcessed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_contract"], "alias": "not_null_buyback_processed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8449552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_buyer.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_buyer"], "alias": "not_null_buyback_processed_base_mainnet_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8465633, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_snx.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_snx"], "alias": "not_null_buyback_processed_base_mainnet_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8482325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0"], "alias": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da"}, "created_at": 1723584318.850008, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_mainnet_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_mainnet_usd.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "not_null_buyback_processed_base_mainnet_usd"], "alias": "not_null_buyback_processed_base_mainnet_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.854042, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/not_null_buyback_processed_base_mainnet_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql", "original_file_path": "models/raw/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "fqn": ["synthetix", "raw", "base", "mainnet", "buyback", "dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0"], "alias": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc"}, "created_at": 1723584318.8558528, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"buyback_processed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_mainnet", "attached_node": "model.synthetix.buyback_processed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_owner.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_owner"], "alias": "not_null_core_account_created_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8859649, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_account_id"], "alias": "not_null_core_account_created_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8876529, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d"}, "created_at": 1723584318.889391, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584318.893457, "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": 1723584318.895159, "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_account_created_base_mainnet_transaction_hash.21cf6568c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_transaction_hash"], "alias": "not_null_core_account_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.8973038, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_block_number"], "alias": "not_null_core_account_created_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": 1723584318.8989427, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_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.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_block_timestamp"], "alias": "not_null_core_account_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9005985, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_event_name"], "alias": "not_null_core_account_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9021933, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_base_mainnet_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_account_created_base_mainnet_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903"}, "created_at": 1723584318.9039361, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_base_mainnet", "attached_node": "model.synthetix.core_account_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_account_created_base_mainnet_contract"], "alias": "not_null_core_account_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9079416, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_account_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_account_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_contract"], "alias": "not_null_core_delegation_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.909805, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_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": 1723584318.911605, "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": 1723584318.9132771, "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_delegation_updated_base_mainnet_account_id.d54eaa7e33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_account_id"], "alias": "not_null_core_delegation_updated_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.914875, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846"}, "created_at": 1723584318.9165182, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_collateral_type"], "alias": "not_null_core_delegation_updated_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9206898, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_pool_id"], "alias": "not_null_core_delegation_updated_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.922321, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb"}, "created_at": 1723584318.923973, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_sender"], "alias": "not_null_core_delegation_updated_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9281616, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_block_timestamp"], "alias": "not_null_core_delegation_updated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.929757, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_block_number"], "alias": "not_null_core_delegation_updated_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": 1723584318.9315057, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_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.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_leverage.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_leverage"], "alias": "not_null_core_delegation_updated_base_mainnet_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.933107, "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_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "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": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27"}, "created_at": 1723584318.934733, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\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 leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_transaction_hash"], "alias": "not_null_core_delegation_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9388936, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_amount"], "alias": "not_null_core_delegation_updated_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9405346, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4"}, "created_at": 1723584318.9421895, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_delegation_updated_base_mainnet_event_name"], "alias": "not_null_core_delegation_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9464276, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be"}, "created_at": 1723584318.9480872, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_delegation_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_base_mainnet", "attached_node": "model.synthetix.core_delegation_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_collateral_type"], "alias": "not_null_core_deposited_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9525478, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_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": 1723584318.9544961, "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": 1723584318.9563458, "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_deposited_base_mainnet_contract.6e9ec1150a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_contract"], "alias": "not_null_core_deposited_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9580917, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_event_name"], "alias": "not_null_core_deposited_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9598753, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_base_mainnet_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_deposited_base_mainnet_event_name__Deposited"], "alias": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c"}, "created_at": 1723584318.9614956, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_transaction_hash"], "alias": "not_null_core_deposited_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9657311, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_account_id"], "alias": "not_null_core_deposited_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9673955, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1"}, "created_at": 1723584318.9690433, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_sender"], "alias": "not_null_core_deposited_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.973242, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_block_timestamp"], "alias": "not_null_core_deposited_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9748666, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_block_number"], "alias": "not_null_core_deposited_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": 1723584318.976536, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_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.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_mainnet_token_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_deposited_base_mainnet_token_amount"], "alias": "not_null_core_deposited_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.978158, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d"}, "created_at": 1723584318.980331, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_deposited_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_mainnet", "attached_node": "model.synthetix.core_deposited_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_block_timestamp"], "alias": "not_null_core_withdrawn_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9843235, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_contract"], "alias": "not_null_core_withdrawn_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.985923, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_block_number"], "alias": "not_null_core_withdrawn_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": 1723584318.9876971, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_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.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_transaction_hash"], "alias": "not_null_core_withdrawn_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.989352, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_token_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_token_amount"], "alias": "not_null_core_withdrawn_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9909418, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536"}, "created_at": 1723584318.992627, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_collateral_type"], "alias": "not_null_core_withdrawn_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9968197, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_account_id"], "alias": "not_null_core_withdrawn_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584318.9984214, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e"}, "created_at": 1723584319.0000482, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584319.0042143, "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": 1723584319.005836, "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_withdrawn_base_mainnet_sender.2f5cf91bdf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_sender"], "alias": "not_null_core_withdrawn_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0074627, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_withdrawn_base_mainnet_event_name"], "alias": "not_null_core_withdrawn_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0092165, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8"}, "created_at": 1723584319.010837, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_mainnet", "attached_node": "model.synthetix.core_withdrawn_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_pool_id"], "alias": "not_null_core_liquidation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0150075, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0"}, "created_at": 1723584319.0166996, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_block_timestamp"], "alias": "not_null_core_liquidation_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0209677, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_block_number"], "alias": "not_null_core_liquidation_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": 1723584319.0225852, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_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.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_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": 1723584319.0242212, "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": 1723584319.0257878, "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_liquidation_base_mainnet_contract.cb2b40daff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_contract"], "alias": "not_null_core_liquidation_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0273623, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_event_name"], "alias": "not_null_core_liquidation_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0290635, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_base_mainnet_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_liquidation_base_mainnet_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533"}, "created_at": 1723584319.0306695, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_collateral_type"], "alias": "not_null_core_liquidation_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0346978, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_sender"], "alias": "not_null_core_liquidation_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.036565, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_account_id"], "alias": "not_null_core_liquidation_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0381541, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291"}, "created_at": 1723584319.0397966, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_transaction_hash"], "alias": "not_null_core_liquidation_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.043967, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_mainnet_liquidate_as_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_liquidation_base_mainnet_liquidate_as_account_id"], "alias": "not_null_core_liquidation_base_mainnet_liquidate_as_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.045595, "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_liquidate_as_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf"}, "created_at": 1723584319.0472565, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_liquidation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_base_mainnet", "attached_node": "model.synthetix.core_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584319.0515263, "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": 1723584319.0531135, "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_updated_base_mainnet_block_timestamp.648a5f6e8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_block_timestamp"], "alias": "not_null_core_market_updated_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0547006, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_block_number"], "alias": "not_null_core_market_updated_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": 1723584319.0564396, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_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.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_transaction_hash"], "alias": "not_null_core_market_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0580318, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_contract"], "alias": "not_null_core_market_updated_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0596585, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_event_name"], "alias": "not_null_core_market_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0612745, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3"}, "created_at": 1723584319.0628793, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_market_id"], "alias": "not_null_core_market_updated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0672717, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c"}, "created_at": 1723584319.0688887, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_net_issuance.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_net_issuance"], "alias": "not_null_core_market_updated_base_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.073008, "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_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "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": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_deposited_collateral_value"], "alias": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996"}, "created_at": 1723584319.074605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996\") }}", "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_b_b44b760e99c9075cf641955fb1ad1996.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "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": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd"}, "created_at": 1723584319.076238, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_sender"], "alias": "not_null_core_market_updated_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0803828, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_collateral_type"], "alias": "not_null_core_market_updated_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.081987, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_credit_capacity.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_credit_capacity"], "alias": "not_null_core_market_updated_base_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0836625, "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_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "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": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_mainnet_token_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_updated_base_mainnet_token_amount"], "alias": "not_null_core_market_updated_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0854175, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "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": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104"}, "created_at": 1723584319.0870247, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_base_mainnet", "attached_node": "model.synthetix.core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_market.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_market"], "alias": "not_null_core_market_registered_base_mainnet_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0910633, "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_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "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": "market", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_market_id"], "alias": "not_null_core_market_registered_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0928695, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "unique_core_market_registered_base_mainnet_market_id"], "alias": "unique_core_market_registered_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0944786, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_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": 1723584319.09622, "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": 1723584319.0978494, "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_market_registered_base_mainnet_block_timestamp.41726ce377": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_block_timestamp"], "alias": "not_null_core_market_registered_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.0996037, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_contract"], "alias": "not_null_core_market_registered_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1011984, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_transaction_hash"], "alias": "not_null_core_market_registered_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1027808, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_block_number"], "alias": "not_null_core_market_registered_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": 1723584319.1043856, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_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.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_event_name"], "alias": "not_null_core_market_registered_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1059847, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186"}, "created_at": 1723584319.1077204, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186\") }}", "language": "sql", "refs": [{"name": "core_market_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_base_mainnet", "attached_node": "model.synthetix.core_market_registered_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_market_registered_base_mainnet_sender"], "alias": "not_null_core_market_registered_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1117043, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_market_registered_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_contract"], "alias": "not_null_core_pool_created_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.113494, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_sender"], "alias": "not_null_core_pool_created_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1150799, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_block_timestamp"], "alias": "not_null_core_pool_created_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1166973, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_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": 1723584319.1182785, "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": 1723584319.1198773, "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_pool_created_base_mainnet_block_number.8ef3c64233": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_block_number"], "alias": "not_null_core_pool_created_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": 1723584319.1215773, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_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.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_transaction_hash"], "alias": "not_null_core_pool_created_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1231837, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_event_name"], "alias": "not_null_core_pool_created_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.124764, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd"}, "created_at": 1723584319.1263576, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_owner.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_owner"], "alias": "not_null_core_pool_created_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1304753, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_pool_created_base_mainnet_pool_id"], "alias": "not_null_core_pool_created_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1321473, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7"}, "created_at": 1723584319.1337655, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_pool_created_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_base_mainnet", "attached_node": "model.synthetix.core_pool_created_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_transaction_hash"], "alias": "not_null_core_rewards_claimed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1379626, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_account_id"], "alias": "not_null_core_rewards_claimed_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1396282, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897"}, "created_at": 1723584319.1412554, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_collateral_type"], "alias": "not_null_core_rewards_claimed_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.14541, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_event_name"], "alias": "not_null_core_rewards_claimed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1470232, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974"}, "created_at": 1723584319.1491172, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_contract"], "alias": "not_null_core_rewards_claimed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1531157, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_amount"], "alias": "not_null_core_rewards_claimed_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1547358, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca"}, "created_at": 1723584319.156539, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_distributor.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_distributor"], "alias": "not_null_core_rewards_claimed_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1605737, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_block_timestamp"], "alias": "not_null_core_rewards_claimed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.162347, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_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": 1723584319.1640077, "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": 1723584319.165621, "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_claimed_base_mainnet_pool_id.28e40cfefe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_pool_id"], "alias": "not_null_core_rewards_claimed_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1672225, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65"}, "created_at": 1723584319.1688375, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_claimed_base_mainnet_block_number"], "alias": "not_null_core_rewards_claimed_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": 1723584319.1729603, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_claimed_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.core_rewards_claimed_base_mainnet", "attached_node": "model.synthetix.core_rewards_claimed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584319.1745641, "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": 1723584319.1763668, "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_rewards_distributed_base_mainnet_event_name.16811bbe2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_event_name"], "alias": "not_null_core_rewards_distributed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.177973, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae"}, "created_at": 1723584319.179612, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_amount"], "alias": "not_null_core_rewards_distributed_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1837566, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89"}, "created_at": 1723584319.1853745, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_contract"], "alias": "not_null_core_rewards_distributed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1895168, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_block_timestamp"], "alias": "not_null_core_rewards_distributed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.191156, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_transaction_hash"], "alias": "not_null_core_rewards_distributed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.1927664, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_collateral_type"], "alias": "not_null_core_rewards_distributed_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.194364, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_block_number"], "alias": "not_null_core_rewards_distributed_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": 1723584319.1959622, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_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.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_duration.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_duration"], "alias": "not_null_core_rewards_distributed_base_mainnet_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.197642, "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_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "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": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0"], "alias": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20"}, "created_at": 1723584319.1992736, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_distributor.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_distributor"], "alias": "not_null_core_rewards_distributed_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2034316, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_rewards_distributed_base_mainnet_pool_id"], "alias": "not_null_core_rewards_distributed_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.205036, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4"}, "created_at": 1723584319.206624, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_rewards_distributed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_base_mainnet", "attached_node": "model.synthetix.core_rewards_distributed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_amount"], "alias": "not_null_core_usd_burned_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2108085, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149"}, "created_at": 1723584319.2124748, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_pool_id"], "alias": "not_null_core_usd_burned_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2167287, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8"}, "created_at": 1723584319.2183952, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_event_name"], "alias": "not_null_core_usd_burned_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2225416, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8"}, "created_at": 1723584319.2242115, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_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": 1723584319.2281914, "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": 1723584319.2303054, "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_burned_base_mainnet_block_number.6f683bcb34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_block_number"], "alias": "not_null_core_usd_burned_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": 1723584319.231907, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_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.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_account_id"], "alias": "not_null_core_usd_burned_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.233469, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a"}, "created_at": 1723584319.2350461, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_base_mainnet", "attached_node": "model.synthetix.core_usd_burned_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_sender"], "alias": "not_null_core_usd_burned_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2391605, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_transaction_hash"], "alias": "not_null_core_usd_burned_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2407644, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_contract"], "alias": "not_null_core_usd_burned_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2423477, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_collateral_type"], "alias": "not_null_core_usd_burned_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.244062, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_burned_base_mainnet_block_timestamp"], "alias": "not_null_core_usd_burned_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2456272, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_burned_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_pool_id"], "alias": "not_null_core_usd_minted_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2472239, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f"}, "created_at": 1723584319.248818, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_block_timestamp"], "alias": "not_null_core_usd_minted_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2529225, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_account_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_account_id"], "alias": "not_null_core_usd_minted_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.254545, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3"}, "created_at": 1723584319.2561982, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_collateral_type"], "alias": "not_null_core_usd_minted_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2603464, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_block_number"], "alias": "not_null_core_usd_minted_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": 1723584319.261955, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_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.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_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": 1723584319.2635622, "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": 1723584319.2652755, "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_usd_minted_base_mainnet_sender.363a1c6bc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_sender"], "alias": "not_null_core_usd_minted_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.266862, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_amount"], "alias": "not_null_core_usd_minted_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2684739, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56"}, "created_at": 1723584319.2700722, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_event_name"], "alias": "not_null_core_usd_minted_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2742178, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e"}, "created_at": 1723584319.2758858, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_base_mainnet", "attached_node": "model.synthetix.core_usd_minted_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_transaction_hash"], "alias": "not_null_core_usd_minted_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2799869, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_usd_minted_base_mainnet_contract"], "alias": "not_null_core_usd_minted_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2815988, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_usd_minted_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_transaction_hash"], "alias": "not_null_core_vault_liquidation_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2832232, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_collateral_type"], "alias": "not_null_core_vault_liquidation_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2849195, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_pool_id"], "alias": "not_null_core_vault_liquidation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2865217, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402"}, "created_at": 1723584319.2881656, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_event_name"], "alias": "not_null_core_vault_liquidation_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.2923055, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b"}, "created_at": 1723584319.2939296, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_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": 1723584319.2981534, "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": 1723584319.2998004, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/unique_core_vault_liquidation_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_block_timestamp"], "alias": "not_null_core_vault_liquidation_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3014011, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408"}, "created_at": 1723584319.3029807, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408\") }}", "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_liquidatio_6fe91ed14b6a60a8f687ff86b3046408.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c"}, "created_at": 1723584319.3047593, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_liquidation_data.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_liquidation_data"], "alias": "not_null_core_vault_liquidation_base_mainnet_liquidation_data", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.308842, "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_liquidation_data.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "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": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_contract"], "alias": "not_null_core_vault_liquidation_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3104458, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_block_number"], "alias": "not_null_core_vault_liquidation_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": 1723584319.3125803, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_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.core_vault_liquidation_base_mainnet", "attached_node": "model.synthetix.core_vault_liquidation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_liquidation_base_mainnet_sender"], "alias": "not_null_core_vault_liquidation_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3141694, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_liquidation_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_ts.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_ts"], "alias": "not_null_core_vault_collateral_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3157713, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_block_number"], "alias": "not_null_core_vault_collateral_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": 1723584319.3173676, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_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.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_pool_id"], "alias": "not_null_core_vault_collateral_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3840418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2"}, "created_at": 1723584319.38583, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_collateral_type"], "alias": "not_null_core_vault_collateral_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.390223, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_amount.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_amount"], "alias": "not_null_core_vault_collateral_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.391893, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435"}, "created_at": 1723584319.3935103, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_collateral_value.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_collateral_value"], "alias": "not_null_core_vault_collateral_base_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.3977528, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc"}, "created_at": 1723584319.3994212, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_mainnet_contract_address.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_collateral_base_mainnet_contract_address"], "alias": "not_null_core_vault_collateral_base_mainnet_contract_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": 1723584319.4036262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_collateral_base_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_ts.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_ts"], "alias": "not_null_core_vault_debt_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4052598, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_block_number"], "alias": "not_null_core_vault_debt_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": 1723584319.4068365, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_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.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_pool_id.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_pool_id"], "alias": "not_null_core_vault_debt_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4085836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4"}, "created_at": 1723584319.4102032, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_collateral_type.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_collateral_type"], "alias": "not_null_core_vault_debt_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.41444, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_debt.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_debt"], "alias": "not_null_core_vault_debt_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4160936, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_mainnet_contract_address.sql", "original_file_path": "models/raw/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "fqn": ["synthetix", "raw", "base", "mainnet", "core", "not_null_core_vault_debt_base_mainnet_contract_address"], "alias": "not_null_core_vault_debt_base_mainnet_contract_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": 1723584319.417708, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/mainnet/core/schema.yml/not_null_core_vault_debt_base_mainnet_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_debt_base_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_base_mainnet", "attached_node": "model.synthetix.core_vault_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_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": 1723584319.4335887, "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": 1723584319.4352548, "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_committed_base_mainnet_event_name.dc08478d35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_event_name"], "alias": "not_null_spot_order_committed_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4368675, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9"}, "created_at": 1723584319.4386172, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_sender"], "alias": "not_null_spot_order_committed_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4426367, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_block_timestamp"], "alias": "not_null_spot_order_committed_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4442847, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_referrer.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_referrer"], "alias": "not_null_spot_order_committed_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4460618, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_amount_provided.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_amount_provided"], "alias": "not_null_spot_order_committed_base_mainnet_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4476674, "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_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "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": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952"}, "created_at": 1723584319.4492688, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_transaction_hash"], "alias": "not_null_spot_order_committed_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4534273, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_contract"], "alias": "not_null_spot_order_committed_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4550636, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_market_id"], "alias": "not_null_spot_order_committed_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4567175, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655"}, "created_at": 1723584319.4583912, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_block_number"], "alias": "not_null_spot_order_committed_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": 1723584319.462545, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_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.spot_order_committed_base_mainnet", "attached_node": "model.synthetix.spot_order_committed_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_mainnet_order_type.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_committed_base_mainnet_order_type"], "alias": "not_null_spot_order_committed_base_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4642015, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_committed_base_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b"}, "created_at": 1723584319.4664834, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_settler.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_settler"], "alias": "not_null_spot_order_settled_base_mainnet_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.470613, "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_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "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": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_block_number"], "alias": "not_null_spot_order_settled_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": 1723584319.4724526, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_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.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_transaction_hash"], "alias": "not_null_spot_order_settled_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4740877, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_block_timestamp"], "alias": "not_null_spot_order_settled_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4757204, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_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": 1723584319.4773169, "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": 1723584319.4789019, "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_settled_base_mainnet_order_type.0e7f500a0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_order_type.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_order_type"], "alias": "not_null_spot_order_settled_base_mainnet_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4806342, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_contract"], "alias": "not_null_spot_order_settled_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.48222, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_price"], "alias": "not_null_spot_order_settled_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.483849, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7"}, "created_at": 1723584319.4854414, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_market_id"], "alias": "not_null_spot_order_settled_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4895985, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352"}, "created_at": 1723584319.4913173, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_collected_fees"], "alias": "not_null_spot_order_settled_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.4955292, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0"}, "created_at": 1723584319.4972289, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_settled_base_mainnet_event_name"], "alias": "not_null_spot_order_settled_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5013945, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29"}, "created_at": 1723584319.5030468, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_settled_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_base_mainnet", "attached_node": "model.synthetix.spot_order_settled_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "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": 1723584319.5072072, "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": 1723584319.5088487, "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_order_cancelled_base_mainnet_block_timestamp.81016bb88f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_block_timestamp"], "alias": "not_null_spot_order_cancelled_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5104558, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_transaction_hash"], "alias": "not_null_spot_order_cancelled_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5120597, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_sender.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_sender"], "alias": "not_null_spot_order_cancelled_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5137434, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_contract"], "alias": "not_null_spot_order_cancelled_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5153644, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_event_name"], "alias": "not_null_spot_order_cancelled_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5169494, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1"}, "created_at": 1723584319.5185473, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_market_id"], "alias": "not_null_spot_order_cancelled_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5226543, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe"}, "created_at": 1723584319.524333, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_order_cancelled_base_mainnet_block_number"], "alias": "not_null_spot_order_cancelled_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": 1723584319.5285203, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_order_cancelled_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.spot_order_cancelled_base_mainnet", "attached_node": "model.synthetix.spot_order_cancelled_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584319.5301511, "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": 1723584319.531766, "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_registered_base_mainnet_block_timestamp.9fcd6d9ec6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_registered_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5333655, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_registered_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5351124, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245"}, "created_at": 1723584319.5367181, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_block_number"], "alias": "not_null_spot_synth_registered_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": 1723584319.5409243, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_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.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_contract"], "alias": "not_null_spot_synth_registered_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5425937, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_synth_token_address.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_synth_token_address"], "alias": "not_null_spot_synth_registered_base_mainnet_synth_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": 1723584319.544243, "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_synth_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "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": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_event_name"], "alias": "not_null_spot_synth_registered_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.545839, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f"}, "created_at": 1723584319.5480497, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_base_mainnet", "attached_node": "model.synthetix.spot_synth_registered_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_registered_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_registered_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5520513, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_registered_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_collected_fees"], "alias": "not_null_spot_synth_bought_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.553651, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646"}, "created_at": 1723584319.5554533, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_bought_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5594547, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_bought_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5612457, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d"}, "created_at": 1723584319.562846, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_block_number"], "alias": "not_null_spot_synth_bought_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": 1723584319.5670502, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_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.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_bought_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.568724, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_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": 1723584319.5703375, "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": 1723584319.5719569, "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_bought_base_mainnet_price.f59f9c339a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_price"], "alias": "not_null_spot_synth_bought_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.573539, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a"}, "created_at": 1723584319.5752587, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_contract"], "alias": "not_null_spot_synth_bought_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.579278, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_referrer.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_referrer"], "alias": "not_null_spot_synth_bought_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.581102, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_bought_base_mainnet_event_name"], "alias": "not_null_spot_synth_bought_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5827453, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5"}, "created_at": 1723584319.5844307, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_bought_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_base_mainnet", "attached_node": "model.synthetix.spot_synth_bought_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_event_name"], "alias": "not_null_spot_synth_sold_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5885432, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020"}, "created_at": 1723584319.5901906, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_sold_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.5942955, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_collected_fees.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_collected_fees"], "alias": "not_null_spot_synth_sold_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.595964, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147"}, "created_at": 1723584319.5975988, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_sold_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6018023, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_referrer.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_referrer"], "alias": "not_null_spot_synth_sold_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.603456, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_block_number"], "alias": "not_null_spot_synth_sold_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": 1723584319.6050756, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_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.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_price.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_price"], "alias": "not_null_spot_synth_sold_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6066892, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a"}, "created_at": 1723584319.6084402, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_amount_returned.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_amount_returned"], "alias": "not_null_spot_synth_sold_base_mainnet_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6124465, "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_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "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": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af"}, "created_at": 1723584319.6142704, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_sold_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.618318, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68"}, "created_at": 1723584319.6199822, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_base_mainnet", "attached_node": "model.synthetix.spot_synth_sold_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584319.6242113, "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": 1723584319.6258295, "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_sold_base_mainnet_contract.46ddd59981": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_sold_base_mainnet_contract"], "alias": "not_null_spot_synth_sold_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.627922, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_sold_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "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": 1723584319.629573, "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": 1723584319.6311922, "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_wrapped_base_mainnet_transaction_hash.9cbd57629d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_wrapped_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6327977, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_wrapped_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6343727, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381"}, "created_at": 1723584319.6360953, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_contract"], "alias": "not_null_spot_synth_wrapped_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6401658, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_event_name"], "alias": "not_null_spot_synth_wrapped_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6419706, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97"}, "created_at": 1723584319.6436224, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_wrapped_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.647588, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_block_number"], "alias": "not_null_spot_synth_wrapped_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": 1723584319.6493726, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_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.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_mainnet_fees_collected.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_wrapped_base_mainnet_fees_collected"], "alias": "not_null_spot_synth_wrapped_base_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6509922, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c"}, "created_at": 1723584319.6526592, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_wrapped_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_wrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6568024, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6584315, "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_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "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": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb"}, "created_at": 1723584319.660084, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_fees_collected.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_fees_collected"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.664243, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777"}, "created_at": 1723584319.6658819, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_event_name.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_event_name"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.670033, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046"}, "created_at": 1723584319.6717193, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_block_number"], "alias": "not_null_spot_synth_unwrapped_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": 1723584319.6758246, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_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.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.677441, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_contract.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_contract"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6790452, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_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": 1723584319.6806638, "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": 1723584319.682356, "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_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.683977, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql", "original_file_path": "models/raw/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "fqn": ["synthetix", "raw", "base", "mainnet", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2"}, "created_at": 1723584319.6855755, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_mainnet\".\"spot_synth_unwrapped_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_base_mainnet", "attached_node": "model.synthetix.spot_synth_unwrapped_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584319.6908412, "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": 1723584319.6925235, "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.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_recency_blocks_base_sepolia_hour__ts__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql", "original_file_path": "models/raw/base/sepolia/schema.yml", "unique_id": "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "fqn": ["synthetix", "raw", "base", "sepolia", "dbt_utils_recency_blocks_base_sepolia_hour__ts__1"], "alias": "dbt_utils_recency_blocks_base_sepolia_hour__ts__1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.6941473, "relation_name": null, "raw_code": "{{ dbt_utils.test_recency(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_recency", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/schema.yml/dbt_utils_recency_blocks_base_sepolia_hour__ts__1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\n\nwith recency as (\n\n select \n\n \n \n max(ts) as most_recent\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"blocks_base_sepolia\"\n\n \n\n)\n\nselect\n\n \n most_recent,\n cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp) as threshold\n\nfrom recency\nwhere most_recent < cast(\n\n now() + ((interval '1 hour') * (-1))\n\n as timestamp)\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": null, "file_key_name": "models.blocks_base_sepolia", "attached_node": "model.synthetix.blocks_base_sepolia", "test_metadata": {"name": "recency", "kwargs": {"datepart": "hour", "field": "ts", "interval": 1, "model": "{{ get_where_subquery(ref('blocks_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584319.7174897, "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": 1723584319.7191825, "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_account_created_base_sepolia_event_name.d7deee96b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_event_name"], "alias": "not_null_perp_account_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7208898, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated"], "alias": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f"}, "created_at": 1723584319.7226553, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_block_number"], "alias": "not_null_perp_account_created_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": 1723584319.7266908, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_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.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_block_timestamp"], "alias": "not_null_perp_account_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.728496, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_owner.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_owner"], "alias": "not_null_perp_account_created_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7301064, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_account_id"], "alias": "not_null_perp_account_created_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7317245, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e"}, "created_at": 1723584319.7333314, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e\") }}", "language": "sql", "refs": [{"name": "perp_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_created_base_sepolia", "attached_node": "model.synthetix.perp_account_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_transaction_hash"], "alias": "not_null_perp_account_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7374728, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_created_base_sepolia_contract"], "alias": "not_null_perp_account_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7391312, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_account_created_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": 1723584319.7407496, "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_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": 1723584319.742455, "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.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_block_number"], "alias": "not_null_perp_order_committed_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": 1723584319.7440803, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_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.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_block_timestamp"], "alias": "not_null_perp_order_committed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7456632, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_transaction_hash"], "alias": "not_null_perp_order_committed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7472694, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_contract"], "alias": "not_null_perp_order_committed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7488568, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_event_name"], "alias": "not_null_perp_order_committed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7505279, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted"], "alias": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba"}, "created_at": 1723584319.75216, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_market_id"], "alias": "not_null_perp_order_committed_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7562845, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b"}, "created_at": 1723584319.757941, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_committed_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_committed_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_committed_base_sepolia_account_id"], "alias": "not_null_perp_order_committed_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7619758, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284"}, "created_at": 1723584319.7638018, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284\") }}", "language": "sql", "refs": [{"name": "perp_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_committed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_committed_base_sepolia", "attached_node": "model.synthetix.perp_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_contract"], "alias": "not_null_perp_order_settled_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7678545, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_event_name"], "alias": "not_null_perp_order_settled_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7696483, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled"], "alias": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723"}, "created_at": 1723584319.771291, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_account_id"], "alias": "not_null_perp_order_settled_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7754166, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7"}, "created_at": 1723584319.7770512, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_market_id"], "alias": "not_null_perp_order_settled_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.781051, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02"}, "created_at": 1723584319.7828224, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_collected_fees"], "alias": "not_null_perp_order_settled_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.786869, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5"}, "created_at": 1723584319.7889335, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5\") }}", "language": "sql", "refs": [{"name": "perp_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_transaction_hash"], "alias": "not_null_perp_order_settled_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7929313, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_block_timestamp"], "alias": "not_null_perp_order_settled_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.7945306, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_order_settled_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_order_settled_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_order_settled_base_sepolia_block_number"], "alias": "not_null_perp_order_settled_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": 1723584319.7963703, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_order_settled_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.perp_order_settled_base_sepolia", "attached_node": "model.synthetix.perp_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584319.7979884, "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_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": 1723584319.7996109, "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_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": 1723584319.8012054, "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_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": 1723584319.8028793, "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.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_block_number"], "alias": "not_null_perp_market_updated_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": 1723584319.8044887, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_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.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_block_timestamp"], "alias": "not_null_perp_market_updated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8060682, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_transaction_hash"], "alias": "not_null_perp_market_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8076584, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_contract"], "alias": "not_null_perp_market_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8092318, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_event_name"], "alias": "not_null_perp_market_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8109286, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated"], "alias": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6"}, "created_at": 1723584319.8125923, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_market_id"], "alias": "not_null_perp_market_updated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8167171, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba"}, "created_at": 1723584319.8183637, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_price"], "alias": "not_null_perp_market_updated_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8225412, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84"}, "created_at": 1723584319.8242078, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_updated_base_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_updated_base_sepolia_interest_rate.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_updated_base_sepolia_interest_rate"], "alias": "not_null_perp_market_updated_base_sepolia_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8281965, "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_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "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": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0"}, "created_at": 1723584319.8300009, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0\") }}", "language": "sql", "refs": [{"name": "perp_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_market_updated_base_sepolia", "attached_node": "model.synthetix.perp_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_account_id"], "alias": "not_null_perp_position_liquidated_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8339777, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de"}, "created_at": 1723584319.835778, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_market_id"], "alias": "not_null_perp_position_liquidated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.839835, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f"}, "created_at": 1723584319.8414989, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584319.845637, "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_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": 1723584319.8472927, "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.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_transaction_hash"], "alias": "not_null_perp_position_liquidated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.849051, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_current_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_current_position_size"], "alias": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760"}, "created_at": 1723584319.850647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760\") }}", "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_liquida_f43c3b03bc780f5f29cf4d5d62fa0760.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect current_position_size\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere current_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "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": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0"], "alias": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301"}, "created_at": 1723584319.8522477, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not current_position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "current_position_size", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "current_position_size", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_event_name"], "alias": "not_null_perp_position_liquidated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8563886, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated"], "alias": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74"}, "created_at": 1723584319.8579996, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PositionLiquidated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PositionLiquidated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_block_number"], "alias": "not_null_perp_position_liquidated_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": 1723584319.8621366, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_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.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_amount_liquidated"], "alias": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e"}, "created_at": 1723584319.86381, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e\") }}", "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_liquida_f1dc08d150cabf234a05a9e18e0a3f4e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "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": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f"}, "created_at": 1723584319.8654287, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f\") }}", "language": "sql", "refs": [{"name": "perp_position_liquidated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.perp_position_liquidated_base_sepolia", "attached_node": "model.synthetix.perp_position_liquidated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_contract"], "alias": "not_null_perp_position_liquidated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8698204, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_position_liquidated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_position_liquidated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_position_liquidated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_position_liquidated_base_sepolia_block_timestamp"], "alias": "not_null_perp_position_liquidated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8714464, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_position_liquidated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_position_liquidated_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": 1723584319.8730493, "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_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": 1723584319.874634, "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.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_account_id"], "alias": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33"}, "created_at": 1723584319.8764505, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33\") }}", "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_liquidat_7425045e61c0e9f721ff1e0c8c42cc33.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e"}, "created_at": 1723584319.8780744, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_block_number"], "alias": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9"}, "created_at": 1723584319.8822567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9\") }}", "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_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_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.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_sepolia_reward.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_reward"], "alias": "not_null_perp_account_liquidation_attempt_base_sepolia_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8839114, "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_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect reward\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "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": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0"], "alias": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522"}, "created_at": 1723584319.885537, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "reward", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "reward", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp"], "alias": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544"}, "created_at": 1723584319.8896635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544\") }}", "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_liquidat_ef6e9d962c8f62d80fbce53e767de544.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidation_attempt_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_contract"], "alias": "not_null_perp_account_liquidation_attempt_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.8913124, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_event_name"], "alias": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387"}, "created_at": 1723584319.8929296, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387\") }}", "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_liquidat_6a9bdb905f130851e6f1770ae67db387.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt"], "alias": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075"}, "created_at": 1723584319.8945642, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075\") }}", "language": "sql", "refs": [{"name": "perp_account_liquidation_attempt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountLiquidationAttempt'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_account_liquidation_attempt_base_sepolia", "attached_node": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountLiquidationAttempt"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash"], "alias": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6"}, "created_at": 1723584319.8986785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6\") }}", "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_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation"], "alias": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068"}, "created_at": 1723584319.9003131, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068\") }}", "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_liquidat_1ee4bf4dc8f47c61291654f150f2e068.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect full_liquidation\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_liquidation_attempt_base_sepolia\"\nwhere full_liquidation is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "full_liquidation", "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": "full_liquidation", "model": "{{ get_where_subquery(ref('perp_account_liquidation_attempt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_block_timestamp"], "alias": "not_null_perp_collateral_modified_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9018958, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_contract"], "alias": "not_null_perp_collateral_modified_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9036329, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_event_name"], "alias": "not_null_perp_collateral_modified_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9052052, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified"], "alias": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7"}, "created_at": 1723584319.9067984, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_block_number"], "alias": "not_null_perp_collateral_modified_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": 1723584319.9109013, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_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.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_synth_market_id"], "alias": "not_null_perp_collateral_modified_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9125247, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820"}, "created_at": 1723584319.9141543, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584319.919631, "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_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": 1723584319.9217932, "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.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_sender"], "alias": "not_null_perp_collateral_modified_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9234593, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_account_id"], "alias": "not_null_perp_collateral_modified_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.925222, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f"}, "created_at": 1723584319.9268756, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f\") }}", "language": "sql", "refs": [{"name": "perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_collateral_modified_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_collateral_modified_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_collateral_modified_base_sepolia_transaction_hash"], "alias": "not_null_perp_collateral_modified_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.931141, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_collateral_modified_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_block_timestamp"], "alias": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d"}, "created_at": 1723584319.932817, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d\") }}", "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_e_a6874c0dda750d58015d0a2ec6c1340d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "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": 1723584319.9344141, "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_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": 1723584319.9360523, "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.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_block_number"], "alias": "not_null_perp_previous_order_expired_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": 1723584319.937647, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_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.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_market_id"], "alias": "not_null_perp_previous_order_expired_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9393947, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88"}, "created_at": 1723584319.941008, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_event_name"], "alias": "not_null_perp_previous_order_expired_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9452553, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired"], "alias": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e"}, "created_at": 1723584319.9468899, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_transaction_hash"], "alias": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82"}, "created_at": 1723584319.9508064, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82\") }}", "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_e_e38903d61a1ff0cf57766e5049ddde82.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_account_id"], "alias": "not_null_perp_previous_order_expired_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9528558, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534"}, "created_at": 1723584319.9544718, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534\") }}", "language": "sql", "refs": [{"name": "perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_previous_order_expired_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_previous_order_expired_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_previous_order_expired_base_sepolia_contract"], "alias": "not_null_perp_previous_order_expired_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9585857, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_previous_order_expired_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_market_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_market_name"], "alias": "not_null_perp_market_created_base_sepolia_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9602165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_market_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_market_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_market_created_base_sepolia_id"], "alias": "unique_perp_market_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": 1723584319.9617968, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_market_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_market_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_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_id"], "alias": "not_null_perp_market_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": 1723584319.9633992, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_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_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_market_symbol.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_market_symbol"], "alias": "not_null_perp_market_created_base_sepolia_market_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": 1723584319.9649882, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_event_name"], "alias": "not_null_perp_market_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9666522, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated"], "alias": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c"}, "created_at": 1723584319.9682765, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_block_number"], "alias": "not_null_perp_market_created_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": 1723584319.9724915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_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.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_block_timestamp"], "alias": "not_null_perp_market_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9741397, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_contract"], "alias": "not_null_perp_market_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9757774, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_perps_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_perps_market_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_perps_market_id"], "alias": "not_null_perp_market_created_base_sepolia_perps_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9773731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_perps_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect perps_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere perps_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3"}, "created_at": 1723584319.9789846, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3\") }}", "language": "sql", "refs": [{"name": "perp_market_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not perps_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "perps_market_id", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "perps_market_id", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_market_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_market_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_market_created_base_sepolia_transaction_hash"], "alias": "not_null_perp_market_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9830859, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_market_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_market_created_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_market_created_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_market_created_base_sepolia", "attached_node": "model.synthetix.perp_market_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_market_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_event_name"], "alias": "not_null_perp_interest_charged_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9847264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged"], "alias": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808"}, "created_at": 1723584319.9864895, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_contract"], "alias": "not_null_perp_interest_charged_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9904637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_transaction_hash"], "alias": "not_null_perp_interest_charged_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9920874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_block_timestamp"], "alias": "not_null_perp_interest_charged_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584319.9938214, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_interest_charged_base_sepolia_id"], "alias": "unique_perp_interest_charged_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": 1723584319.9954383, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_charged_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_interest_charged_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_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_id"], "alias": "not_null_perp_interest_charged_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": 1723584319.9970226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_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_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_block_number"], "alias": "not_null_perp_interest_charged_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": 1723584319.9986157, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_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.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_charged_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_charged_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_charged_base_sepolia_account_id"], "alias": "not_null_perp_interest_charged_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0003216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_charged_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_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_charged_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d"}, "created_at": 1723584320.0019133, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d\") }}", "language": "sql", "refs": [{"name": "perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_charged_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('perp_interest_charged_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_block_timestamp"], "alias": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182"}, "created_at": 1723584320.0060377, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_event_name"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0079024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated"], "alias": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f"}, "created_at": 1723584320.0095394, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestRateUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestRateUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_transaction_hash"], "alias": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae"}, "created_at": 1723584320.0136876, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_interest_rate"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0153282, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0"], "alias": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a"}, "created_at": 1723584320.0169442, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest_rate >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest_rate", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_block_number"], "alias": "not_null_perp_interest_rate_updated_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": 1723584320.021176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_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.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_perp_interest_rate_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_perp_interest_rate_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "unique_perp_interest_rate_updated_base_sepolia_id"], "alias": "unique_perp_interest_rate_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": 1723584320.02278, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/unique_perp_interest_rate_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_interest_rate_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_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_id"], "alias": "not_null_perp_interest_rate_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": 1723584320.0243897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_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_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_contract"], "alias": "not_null_perp_interest_rate_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0259635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_updated_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_perp_interest_rate_updated_base_sepolia_super_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "not_null_perp_interest_rate_updated_base_sepolia_super_market_id"], "alias": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb"}, "created_at": 1723584320.0277095, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_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_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect super_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\nwhere super_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql", "original_file_path": "models/raw/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "fqn": ["synthetix", "raw", "base", "sepolia", "perp", "dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0"], "alias": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c"}, "created_at": 1723584320.0293138, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c\") }}", "language": "sql", "refs": [{"name": "perp_interest_rate_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.perp_interest_rate_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"perp_interest_rate_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not super_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "super_market_id", "file_key_name": "models.perp_interest_rate_updated_base_sepolia", "attached_node": "model.synthetix.perp_interest_rate_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "super_market_id", "model": "{{ get_where_subquery(ref('perp_interest_rate_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_id"], "alias": "not_null_buyback_processed_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": 1723584320.035375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_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.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_buyback_processed_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_buyback_processed_base_sepolia_id.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "unique_buyback_processed_base_sepolia_id"], "alias": "unique_buyback_processed_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": 1723584320.0370212, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/unique_buyback_processed_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\".\"buyback_processed_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.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_block_number"], "alias": "not_null_buyback_processed_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": 1723584320.0386443, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_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.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_block_timestamp"], "alias": "not_null_buyback_processed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.04088, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_transaction_hash"], "alias": "not_null_buyback_processed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0425305, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_event_name"], "alias": "not_null_buyback_processed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0441604, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed"], "alias": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac"}, "created_at": 1723584320.0457683, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'BuybackProcessed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["BuybackProcessed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_contract"], "alias": "not_null_buyback_processed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.049852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_buyer.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_buyer"], "alias": "not_null_buyback_processed_base_sepolia_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0515177, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_snx.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_snx"], "alias": "not_null_buyback_processed_base_sepolia_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.053112, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0"], "alias": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16"}, "created_at": 1723584320.0548763, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_buyback_processed_base_sepolia_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_buyback_processed_base_sepolia_usd.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "not_null_buyback_processed_base_sepolia_usd"], "alias": "not_null_buyback_processed_base_sepolia_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.0590014, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/not_null_buyback_processed_base_sepolia_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql", "original_file_path": "models/raw/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "fqn": ["synthetix", "raw", "base", "sepolia", "buyback", "dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0"], "alias": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29"}, "created_at": 1723584320.060643, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29\") }}", "language": "sql", "refs": [{"name": "buyback_processed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.buyback_processed_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"buyback_processed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.buyback_processed_base_sepolia", "attached_node": "model.synthetix.buyback_processed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('buyback_processed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_owner.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_owner"], "alias": "not_null_core_account_created_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.090449, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_account_id"], "alias": "not_null_core_account_created_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.092171, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494"}, "created_at": 1723584320.0938292, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584320.098119, "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": 1723584320.0997808, "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_account_created_base_sepolia_transaction_hash.53f2200f19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_transaction_hash"], "alias": "not_null_core_account_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1015193, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_block_number"], "alias": "not_null_core_account_created_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": 1723584320.1031394, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_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.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_block_timestamp"], "alias": "not_null_core_account_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1047206, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_event_name"], "alias": "not_null_core_account_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1062958, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_account_created_base_sepolia_event_name__AccountCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_account_created_base_sepolia_event_name__AccountCreated"], "alias": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8"}, "created_at": 1723584320.1079416, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8\") }}", "language": "sql", "refs": [{"name": "core_account_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'AccountCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_account_created_base_sepolia", "attached_node": "model.synthetix.core_account_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["AccountCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_account_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_account_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_account_created_base_sepolia_contract"], "alias": "not_null_core_account_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1120503, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_account_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_account_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_contract"], "alias": "not_null_core_delegation_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1136873, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_delegation_updated_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": 1723584320.1154525, "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": 1723584320.1170511, "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_delegation_updated_base_sepolia_account_id.eeaa67ead3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_account_id"], "alias": "not_null_core_delegation_updated_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1186435, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36"}, "created_at": 1723584320.1202626, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_collateral_type"], "alias": "not_null_core_delegation_updated_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1249216, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_pool_id"], "alias": "not_null_core_delegation_updated_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1265352, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c"}, "created_at": 1723584320.128164, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_sender"], "alias": "not_null_core_delegation_updated_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.132316, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_block_timestamp"], "alias": "not_null_core_delegation_updated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.133916, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_block_number"], "alias": "not_null_core_delegation_updated_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": 1723584320.1355298, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_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.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_leverage", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_leverage.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_leverage"], "alias": "not_null_core_delegation_updated_base_sepolia_leverage", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.137275, "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_leverage.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect leverage\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere leverage is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "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": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000"], "alias": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc"}, "created_at": 1723584320.1389022, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not leverage >= 1000000000000000000\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 leverage <= 1000000000000000000\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "leverage", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1000000000000000000, "max_value": 1000000000000000000, "inclusive": true, "column_name": "leverage", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_transaction_hash"], "alias": "not_null_core_delegation_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1431222, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_amount"], "alias": "not_null_core_delegation_updated_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1447413, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9"}, "created_at": 1723584320.146348, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_delegation_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_delegation_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_delegation_updated_base_sepolia_event_name"], "alias": "not_null_core_delegation_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.150511, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated"], "alias": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd"}, "created_at": 1723584320.152174, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd\") }}", "language": "sql", "refs": [{"name": "core_delegation_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_delegation_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'DelegationUpdated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_delegation_updated_base_sepolia", "attached_node": "model.synthetix.core_delegation_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["DelegationUpdated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_delegation_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_collateral_type"], "alias": "not_null_core_deposited_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.156277, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_deposited_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": 1723584320.1578867, "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": 1723584320.1595116, "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_deposited_base_sepolia_contract.8dbc5afa3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_contract"], "alias": "not_null_core_deposited_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.161119, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_event_name"], "alias": "not_null_core_deposited_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1626933, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_deposited_base_sepolia_event_name__Deposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_deposited_base_sepolia_event_name__Deposited"], "alias": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3"}, "created_at": 1723584320.1644406, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Deposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Deposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_transaction_hash"], "alias": "not_null_core_deposited_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.168423, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_account_id"], "alias": "not_null_core_deposited_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1702037, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559"}, "created_at": 1723584320.1718438, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_sender"], "alias": "not_null_core_deposited_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.176033, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_block_timestamp"], "alias": "not_null_core_deposited_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1776671, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_block_number"], "alias": "not_null_core_deposited_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": 1723584320.1792867, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_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.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_deposited_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_deposited_base_sepolia_token_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_deposited_base_sepolia_token_amount"], "alias": "not_null_core_deposited_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.180871, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6"}, "created_at": 1723584320.1824586, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6\") }}", "language": "sql", "refs": [{"name": "core_deposited_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_deposited_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_deposited_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_deposited_base_sepolia", "attached_node": "model.synthetix.core_deposited_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_deposited_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_block_timestamp"], "alias": "not_null_core_withdrawn_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1865358, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_contract"], "alias": "not_null_core_withdrawn_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1881826, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_block_number"], "alias": "not_null_core_withdrawn_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": 1723584320.1897671, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_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.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_transaction_hash"], "alias": "not_null_core_withdrawn_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1915004, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_token_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_token_amount"], "alias": "not_null_core_withdrawn_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.1930645, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69"}, "created_at": 1723584320.1946344, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_collateral_type"], "alias": "not_null_core_withdrawn_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.198786, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_account_id"], "alias": "not_null_core_withdrawn_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2004256, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939"}, "created_at": 1723584320.202034, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584320.2064073, "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": 1723584320.2080665, "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_withdrawn_base_sepolia_sender.935071b6a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_sender"], "alias": "not_null_core_withdrawn_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2096522, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_withdrawn_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_withdrawn_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_withdrawn_base_sepolia_event_name"], "alias": "not_null_core_withdrawn_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2113934, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn"], "alias": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c"}, "created_at": 1723584320.2130065, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c\") }}", "language": "sql", "refs": [{"name": "core_withdrawn_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_withdrawn_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Withdrawn'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_withdrawn_base_sepolia", "attached_node": "model.synthetix.core_withdrawn_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Withdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_withdrawn_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_pool_id"], "alias": "not_null_core_liquidation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2171664, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94"}, "created_at": 1723584320.2188118, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_block_timestamp"], "alias": "not_null_core_liquidation_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2228336, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_block_number"], "alias": "not_null_core_liquidation_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": 1723584320.2247071, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_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.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_liquidation_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": 1723584320.2263327, "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": 1723584320.2279415, "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_liquidation_base_sepolia_contract.2d1b4b38d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_contract"], "alias": "not_null_core_liquidation_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.22954, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_event_name"], "alias": "not_null_core_liquidation_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2312498, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_liquidation_base_sepolia_event_name__Liquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_liquidation_base_sepolia_event_name__Liquidation"], "alias": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f"}, "created_at": 1723584320.2328656, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'Liquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["Liquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_collateral_type"], "alias": "not_null_core_liquidation_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2368248, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_sender"], "alias": "not_null_core_liquidation_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2386348, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_account_id"], "alias": "not_null_core_liquidation_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.240275, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b"}, "created_at": 1723584320.2418942, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_transaction_hash"], "alias": "not_null_core_liquidation_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2460432, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_liquidation_base_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_liquidation_base_sepolia_liquidate_as_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_liquidation_base_sepolia_liquidate_as_account_id"], "alias": "not_null_core_liquidation_base_sepolia_liquidate_as_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2476988, "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_liquidate_as_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd"}, "created_at": 1723584320.2493358, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd\") }}", "language": "sql", "refs": [{"name": "core_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_liquidation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_liquidation_base_sepolia", "attached_node": "model.synthetix.core_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584320.253472, "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": 1723584320.2551217, "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_updated_base_sepolia_block_timestamp.66be40faea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_block_timestamp"], "alias": "not_null_core_market_updated_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.25673, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_block_number"], "alias": "not_null_core_market_updated_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": 1723584320.2584555, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_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.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_transaction_hash"], "alias": "not_null_core_market_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.26006, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_contract"], "alias": "not_null_core_market_updated_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2616503, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_event_name"], "alias": "not_null_core_market_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2632365, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c"}, "created_at": 1723584320.2648485, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_market_id"], "alias": "not_null_core_market_updated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2689433, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae"}, "created_at": 1723584320.2705774, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_net_issuance.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_net_issuance"], "alias": "not_null_core_market_updated_base_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2746994, "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_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "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": "net_issuance", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_deposited_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_deposited_collateral_value"], "alias": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9"}, "created_at": 1723584320.2763638, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9\") }}", "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_b_3efbf3bbb6987dd33d2575ce535e8be9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect deposited_collateral_value\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere deposited_collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "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": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb"}, "created_at": 1723584320.278052, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not deposited_collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "deposited_collateral_value", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "deposited_collateral_value", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_sender"], "alias": "not_null_core_market_updated_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2822201, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_collateral_type"], "alias": "not_null_core_market_updated_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2838666, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_credit_capacity.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_credit_capacity"], "alias": "not_null_core_market_updated_base_sepolia_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2854776, "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_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "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": "credit_capacity", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_updated_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_updated_base_sepolia_token_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_updated_base_sepolia_token_amount"], "alias": "not_null_core_market_updated_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2875543, "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_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "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": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0"], "alias": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00"}, "created_at": 1723584320.2891755, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00\") }}", "language": "sql", "refs": [{"name": "core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not token_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.core_market_updated_base_sepolia", "attached_node": "model.synthetix.core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "token_amount", "model": "{{ get_where_subquery(ref('core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_market", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_market.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_market"], "alias": "not_null_core_market_registered_base_sepolia_market", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2933238, "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_market.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere market is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market", "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": "market", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_market_id"], "alias": "not_null_core_market_registered_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2949238, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_core_market_registered_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_core_market_registered_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "unique_core_market_registered_base_sepolia_market_id"], "alias": "unique_core_market_registered_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.2965393, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n market_id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere market_id is not null\ngroup by market_id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('core_market_registered_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": 1723584320.2981093, "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": 1723584320.2997782, "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_market_registered_base_sepolia_block_timestamp.209ede7f48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_block_timestamp"], "alias": "not_null_core_market_registered_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3014882, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_contract"], "alias": "not_null_core_market_registered_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3030531, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_transaction_hash"], "alias": "not_null_core_market_registered_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3046997, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_block_number"], "alias": "not_null_core_market_registered_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": 1723584320.30637, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_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.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_event_name"], "alias": "not_null_core_market_registered_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3080971, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered"], "alias": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02"}, "created_at": 1723584320.3097203, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02\") }}", "language": "sql", "refs": [{"name": "core_market_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_market_registered_base_sepolia", "attached_node": "model.synthetix.core_market_registered_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_market_registered_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_market_registered_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_market_registered_base_sepolia_sender"], "alias": "not_null_core_market_registered_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3138845, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_market_registered_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_market_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_contract"], "alias": "not_null_core_pool_created_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3155313, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_sender"], "alias": "not_null_core_pool_created_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3171399, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_block_timestamp"], "alias": "not_null_core_pool_created_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3187184, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_pool_created_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": 1723584320.3203232, "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": 1723584320.3220153, "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_pool_created_base_sepolia_block_number.094a784336": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_block_number"], "alias": "not_null_core_pool_created_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": 1723584320.3236272, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_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.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_transaction_hash"], "alias": "not_null_core_pool_created_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3252053, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_event_name"], "alias": "not_null_core_pool_created_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3268013, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated"], "alias": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef"}, "created_at": 1723584320.3284345, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PoolCreated'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PoolCreated"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_owner.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_owner"], "alias": "not_null_core_pool_created_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3325107, "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_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "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": "owner", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_pool_created_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_pool_created_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_pool_created_base_sepolia_pool_id"], "alias": "not_null_core_pool_created_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3341317, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677"}, "created_at": 1723584320.3358967, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677\") }}", "language": "sql", "refs": [{"name": "core_pool_created_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_pool_created_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_pool_created_base_sepolia", "attached_node": "model.synthetix.core_pool_created_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_pool_created_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_transaction_hash"], "alias": "not_null_core_rewards_claimed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3399434, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_account_id"], "alias": "not_null_core_rewards_claimed_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.341624, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431"}, "created_at": 1723584320.3434174, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_collateral_type"], "alias": "not_null_core_rewards_claimed_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3474338, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_event_name"], "alias": "not_null_core_rewards_claimed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3492239, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed"], "alias": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61"}, "created_at": 1723584320.3508348, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsClaimed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsClaimed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_contract"], "alias": "not_null_core_rewards_claimed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3549435, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_amount"], "alias": "not_null_core_rewards_claimed_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3565824, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947"}, "created_at": 1723584320.358175, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_distributor.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_distributor"], "alias": "not_null_core_rewards_claimed_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.362316, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_block_timestamp"], "alias": "not_null_core_rewards_claimed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.363954, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_claimed_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": 1723584320.3655455, "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": 1723584320.3671494, "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_claimed_base_sepolia_pool_id.e61695fb4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_pool_id"], "alias": "not_null_core_rewards_claimed_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.369062, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531"}, "created_at": 1723584320.3706417, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531\") }}", "language": "sql", "refs": [{"name": "core_rewards_claimed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_claimed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_claimed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_claimed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_claimed_base_sepolia_block_number"], "alias": "not_null_core_rewards_claimed_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": 1723584320.3748229, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_claimed_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.core_rewards_claimed_base_sepolia", "attached_node": "model.synthetix.core_rewards_claimed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584320.376482, "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": 1723584320.378071, "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_rewards_distributed_base_sepolia_event_name.e3a18ecd0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_event_name"], "alias": "not_null_core_rewards_distributed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3797038, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed"], "alias": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d"}, "created_at": 1723584320.3812912, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'RewardsDistributed'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["RewardsDistributed"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_amount"], "alias": "not_null_core_rewards_distributed_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.38538, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1"}, "created_at": 1723584320.3870127, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_contract"], "alias": "not_null_core_rewards_distributed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3912075, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_block_timestamp"], "alias": "not_null_core_rewards_distributed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.392838, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_transaction_hash"], "alias": "not_null_core_rewards_distributed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3944497, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_collateral_type"], "alias": "not_null_core_rewards_distributed_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.3961992, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_block_number"], "alias": "not_null_core_rewards_distributed_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": 1723584320.397791, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_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.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_duration", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_duration.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_duration"], "alias": "not_null_core_rewards_distributed_base_sepolia_duration", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.399412, "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_duration.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect duration\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere duration is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "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": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0"], "alias": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf"}, "created_at": 1723584320.4010124, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not duration >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "duration", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "duration", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_distributor.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_distributor"], "alias": "not_null_core_rewards_distributed_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4051852, "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_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "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": "distributor", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_rewards_distributed_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_rewards_distributed_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_rewards_distributed_base_sepolia_pool_id"], "alias": "not_null_core_rewards_distributed_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4067914, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00"}, "created_at": 1723584320.4084253, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00\") }}", "language": "sql", "refs": [{"name": "core_rewards_distributed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_rewards_distributed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_rewards_distributed_base_sepolia", "attached_node": "model.synthetix.core_rewards_distributed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_rewards_distributed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_amount"], "alias": "not_null_core_usd_burned_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4126358, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5"}, "created_at": 1723584320.4142718, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_pool_id"], "alias": "not_null_core_usd_burned_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.418518, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29"}, "created_at": 1723584320.4202156, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_event_name"], "alias": "not_null_core_usd_burned_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4244153, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned"], "alias": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6"}, "created_at": 1723584320.4260957, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdBurned'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdBurned"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_burned_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": 1723584320.4303775, "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": 1723584320.4320421, "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_burned_base_sepolia_block_number.9acf3a65f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_block_number"], "alias": "not_null_core_usd_burned_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": 1723584320.4336996, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_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.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_account_id"], "alias": "not_null_core_usd_burned_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4353435, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a"}, "created_at": 1723584320.4370701, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a\") }}", "language": "sql", "refs": [{"name": "core_usd_burned_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_burned_base_sepolia", "attached_node": "model.synthetix.core_usd_burned_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_sender"], "alias": "not_null_core_usd_burned_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4411821, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_transaction_hash"], "alias": "not_null_core_usd_burned_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4429467, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_contract"], "alias": "not_null_core_usd_burned_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.444578, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_collateral_type"], "alias": "not_null_core_usd_burned_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4461412, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_burned_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_burned_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_burned_base_sepolia_block_timestamp"], "alias": "not_null_core_usd_burned_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.447733, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_burned_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_burned_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_pool_id"], "alias": "not_null_core_usd_minted_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.449323, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386"}, "created_at": 1723584320.4514744, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_block_timestamp"], "alias": "not_null_core_usd_minted_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4554763, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_account_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_account_id"], "alias": "not_null_core_usd_minted_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4572272, "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_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_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": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791"}, "created_at": 1723584320.4588697, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_collateral_type"], "alias": "not_null_core_usd_minted_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4628725, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_block_number"], "alias": "not_null_core_usd_minted_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": 1723584320.4647133, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_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.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_usd_minted_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": 1723584320.46632, "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": 1723584320.467936, "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_usd_minted_base_sepolia_sender.5053739593": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_sender"], "alias": "not_null_core_usd_minted_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4695323, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_amount"], "alias": "not_null_core_usd_minted_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.471217, "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_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "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": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af"}, "created_at": 1723584320.4728239, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_event_name"], "alias": "not_null_core_usd_minted_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4770954, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted"], "alias": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002"}, "created_at": 1723584320.4787366, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002\") }}", "language": "sql", "refs": [{"name": "core_usd_minted_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'UsdMinted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_usd_minted_base_sepolia", "attached_node": "model.synthetix.core_usd_minted_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["UsdMinted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_transaction_hash"], "alias": "not_null_core_usd_minted_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4826467, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_usd_minted_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_usd_minted_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_usd_minted_base_sepolia_contract"], "alias": "not_null_core_usd_minted_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4844208, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_usd_minted_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_usd_minted_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_transaction_hash"], "alias": "not_null_core_vault_liquidation_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4860067, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_collateral_type"], "alias": "not_null_core_vault_liquidation_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.487611, "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_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "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": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_pool_id"], "alias": "not_null_core_vault_liquidation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.4892216, "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_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_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": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827"}, "created_at": 1723584320.4909112, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_event_name"], "alias": "not_null_core_vault_liquidation_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.494925, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation"], "alias": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2"}, "created_at": 1723584320.496577, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VaultLiquidation'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VaultLiquidation"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('core_vault_liquidation_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": 1723584320.5007417, "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": 1723584320.5023527, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_liquidation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/unique_core_vault_liquidation_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_block_timestamp"], "alias": "not_null_core_vault_liquidation_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5041242, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id"], "alias": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2"}, "created_at": 1723584320.5057187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2\") }}", "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_liquidatio_53dd6224c744d10360ffff7b324992d2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidate_as_account_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere liquidate_as_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_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": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0"], "alias": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df"}, "created_at": 1723584320.5073192, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df\") }}", "language": "sql", "refs": [{"name": "core_vault_liquidation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not liquidate_as_account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidate_as_account_id", "file_key_name": "models.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "liquidate_as_account_id", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_liquidation_data", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_liquidation_data.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_liquidation_data"], "alias": "not_null_core_vault_liquidation_base_sepolia_liquidation_data", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5114872, "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_liquidation_data.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect liquidation_data\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere liquidation_data is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "liquidation_data", "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": "liquidation_data", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_contract"], "alias": "not_null_core_vault_liquidation_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5130987, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_block_number"], "alias": "not_null_core_vault_liquidation_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": 1723584320.5147016, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_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.core_vault_liquidation_base_sepolia", "attached_node": "model.synthetix.core_vault_liquidation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_liquidation_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_liquidation_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_liquidation_base_sepolia_sender"], "alias": "not_null_core_vault_liquidation_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5163543, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_liquidation_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('core_vault_liquidation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_ts.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_ts"], "alias": "not_null_core_vault_collateral_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5180738, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_block_number"], "alias": "not_null_core_vault_collateral_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": 1723584320.5196972, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_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.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_pool_id"], "alias": "not_null_core_vault_collateral_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5212736, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950"}, "created_at": 1723584320.5229485, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_collateral_type"], "alias": "not_null_core_vault_collateral_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.527081, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_amount.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_amount"], "alias": "not_null_core_vault_collateral_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5287302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda"}, "created_at": 1723584320.5303361, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_collateral_value.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_collateral_value"], "alias": "not_null_core_vault_collateral_base_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5347304, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4"}, "created_at": 1723584320.5363967, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4\") }}", "language": "sql", "refs": [{"name": "core_vault_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_collateral_base_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_collateral_base_sepolia_contract_address.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_collateral_base_sepolia_contract_address"], "alias": "not_null_core_vault_collateral_base_sepolia_contract_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": 1723584320.540551, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_collateral_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_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_collateral_base_sepolia_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_collateral_base_sepolia", "attached_node": "model.synthetix.core_vault_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_ts.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_ts"], "alias": "not_null_core_vault_debt_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5421684, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_block_number"], "alias": "not_null_core_vault_debt_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": 1723584320.5438056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_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.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_pool_id.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_pool_id"], "alias": "not_null_core_vault_debt_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.545527, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c"}, "created_at": 1723584320.5471642, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c\") }}", "language": "sql", "refs": [{"name": "core_vault_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.core_vault_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_collateral_type.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_collateral_type"], "alias": "not_null_core_vault_debt_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5512137, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_debt.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_debt"], "alias": "not_null_core_vault_debt_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5530105, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('core_vault_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_core_vault_debt_base_sepolia_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_core_vault_debt_base_sepolia_contract_address.sql", "original_file_path": "models/raw/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "fqn": ["synthetix", "raw", "base", "sepolia", "core", "not_null_core_vault_debt_base_sepolia_contract_address"], "alias": "not_null_core_vault_debt_base_sepolia_contract_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": 1723584320.5546105, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "core_vault_debt_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_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/core/schema.yml/not_null_core_vault_debt_base_sepolia_contract_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_debt_base_sepolia\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.core_vault_debt_base_sepolia", "attached_node": "model.synthetix.core_vault_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('core_vault_debt_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": 1723584320.5706906, "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": 1723584320.5723412, "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_committed_base_sepolia_event_name.438812a0d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_event_name"], "alias": "not_null_spot_order_committed_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5739298, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted"], "alias": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f"}, "created_at": 1723584320.5757082, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCommitted'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCommitted"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_sender"], "alias": "not_null_spot_order_committed_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5796993, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_block_timestamp"], "alias": "not_null_spot_order_committed_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5813046, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_referrer.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_referrer"], "alias": "not_null_spot_order_committed_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5831082, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_amount_provided", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_amount_provided.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_amount_provided"], "alias": "not_null_spot_order_committed_base_sepolia_amount_provided", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5847125, "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_amount_provided.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_provided\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere amount_provided is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "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": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0"], "alias": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4"}, "created_at": 1723584320.5863101, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_provided >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_provided", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_provided", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_transaction_hash"], "alias": "not_null_spot_order_committed_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5904768, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_contract"], "alias": "not_null_spot_order_committed_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5921197, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_market_id"], "alias": "not_null_spot_order_committed_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.5937164, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05"}, "created_at": 1723584320.5953546, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05\") }}", "language": "sql", "refs": [{"name": "spot_order_committed_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_block_number"], "alias": "not_null_spot_order_committed_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": 1723584320.5995028, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_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.spot_order_committed_base_sepolia", "attached_node": "model.synthetix.spot_order_committed_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_committed_base_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_committed_base_sepolia_order_type.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_committed_base_sepolia_order_type"], "alias": "not_null_spot_order_committed_base_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6011214, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_committed_base_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_committed_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0"], "alias": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd"}, "created_at": 1723584320.602878, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not final_order_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "final_order_amount", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "final_order_amount", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_settler.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_settler"], "alias": "not_null_spot_order_settled_base_sepolia_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6069007, "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_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "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": "settler", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_block_number"], "alias": "not_null_spot_order_settled_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": 1723584320.6085408, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_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.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_transaction_hash"], "alias": "not_null_spot_order_settled_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6103113, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_block_timestamp"], "alias": "not_null_spot_order_settled_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.611927, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_settled_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": 1723584320.613534, "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": 1723584320.6151817, "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_settled_base_sepolia_order_type.aba0efecf9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_order_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_order_type.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_order_type"], "alias": "not_null_spot_order_settled_base_sepolia_order_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.617348, "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_order_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect order_type\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere order_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "order_type", "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": "order_type", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_contract"], "alias": "not_null_spot_order_settled_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6189563, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_price"], "alias": "not_null_spot_order_settled_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6205618, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb"}, "created_at": 1723584320.622165, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_market_id"], "alias": "not_null_spot_order_settled_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6263196, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3"}, "created_at": 1723584320.6280146, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_collected_fees"], "alias": "not_null_spot_order_settled_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.632267, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780"}, "created_at": 1723584320.633894, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_settled_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_settled_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_settled_base_sepolia_event_name"], "alias": "not_null_spot_order_settled_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6380262, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_settled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled"], "alias": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930"}, "created_at": 1723584320.6397, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930\") }}", "language": "sql", "refs": [{"name": "spot_order_settled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_settled_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderSettled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_settled_base_sepolia", "attached_node": "model.synthetix.spot_order_settled_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderSettled"], "column_name": "event_name", "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": 1723584320.643863, "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": 1723584320.645504, "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_order_cancelled_base_sepolia_block_timestamp.fa9df55b40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_block_timestamp"], "alias": "not_null_spot_order_cancelled_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6471107, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_transaction_hash"], "alias": "not_null_spot_order_cancelled_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6487114, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_sender.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_sender"], "alias": "not_null_spot_order_cancelled_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6503863, "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_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "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": "sender", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_contract"], "alias": "not_null_spot_order_cancelled_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6519904, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_event_name"], "alias": "not_null_spot_order_cancelled_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6535654, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled"], "alias": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981"}, "created_at": 1723584320.655173, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_order_can_3690236c38a3115c311350297982d981\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_order_can_3690236c38a3115c311350297982d981.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'OrderCancelled'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["OrderCancelled"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_market_id"], "alias": "not_null_spot_order_cancelled_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6592827, "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_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_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": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638"}, "created_at": 1723584320.6609592, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638\") }}", "language": "sql", "refs": [{"name": "spot_order_cancelled_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('spot_order_cancelled_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_order_cancelled_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_order_cancelled_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_order_cancelled_base_sepolia_block_number"], "alias": "not_null_spot_order_cancelled_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": 1723584320.665142, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_order_cancelled_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.spot_order_cancelled_base_sepolia", "attached_node": "model.synthetix.spot_order_cancelled_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "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": 1723584320.6667883, "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": 1723584320.6684263, "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_registered_base_sepolia_block_timestamp.79c2f95be5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_registered_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6700225, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_registered_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6717753, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac"}, "created_at": 1723584320.6733975, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_block_number"], "alias": "not_null_spot_synth_registered_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": 1723584320.677607, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_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.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_contract"], "alias": "not_null_spot_synth_registered_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6792505, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_synth_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_synth_token_address.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_synth_token_address"], "alias": "not_null_spot_synth_registered_base_sepolia_synth_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": 1723584320.680848, "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_synth_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_token_address\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere synth_token_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_token_address", "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": "synth_token_address", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_event_name"], "alias": "not_null_spot_synth_registered_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6824424, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered"], "alias": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a"}, "created_at": 1723584320.6840763, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a\") }}", "language": "sql", "refs": [{"name": "spot_synth_registered_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthRegistered'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_registered_base_sepolia", "attached_node": "model.synthetix.spot_synth_registered_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthRegistered"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_registered_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_registered_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_registered_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_registered_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.688122, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_registered_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_registered_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_collected_fees"], "alias": "not_null_spot_synth_bought_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.689728, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3"}, "created_at": 1723584320.691482, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_bought_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6955223, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_bought_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.6977556, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b"}, "created_at": 1723584320.6994412, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_block_number"], "alias": "not_null_spot_synth_bought_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": 1723584320.703428, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_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.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_bought_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.705202, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_bought_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": 1723584320.7067916, "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": 1723584320.7084613, "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_bought_base_sepolia_price.d27790b16d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_price"], "alias": "not_null_spot_synth_bought_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7100682, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16"}, "created_at": 1723584320.711781, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_contract"], "alias": "not_null_spot_synth_bought_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.715776, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_referrer.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_referrer"], "alias": "not_null_spot_synth_bought_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7173848, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_bought_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_bought_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_bought_base_sepolia_event_name"], "alias": "not_null_spot_synth_bought_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7191868, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought"], "alias": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483"}, "created_at": 1723584320.720802, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483\") }}", "language": "sql", "refs": [{"name": "spot_synth_bought_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_bought_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthBought'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_bought_base_sepolia", "attached_node": "model.synthetix.spot_synth_bought_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthBought"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_bought_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_event_name"], "alias": "not_null_spot_synth_sold_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7248926, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold"], "alias": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788"}, "created_at": 1723584320.726568, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthSold'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthSold"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_sold_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7307737, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_collected_fees.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_collected_fees"], "alias": "not_null_spot_synth_sold_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.732426, "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_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "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": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96"}, "created_at": 1723584320.734032, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_sold_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.738172, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_referrer.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_referrer"], "alias": "not_null_spot_synth_sold_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7398477, "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_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "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": "referrer", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_block_number"], "alias": "not_null_spot_synth_sold_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": 1723584320.7414641, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_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.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_price.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_price"], "alias": "not_null_spot_synth_sold_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7430508, "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_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "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": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06"}, "created_at": 1723584320.7447965, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_amount_returned", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_amount_returned.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_amount_returned"], "alias": "not_null_spot_synth_sold_base_sepolia_amount_returned", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7488031, "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_amount_returned.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_returned\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere amount_returned is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "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": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0"], "alias": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685"}, "created_at": 1723584320.7506177, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_returned >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_returned", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_returned", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_sold_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7546382, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff"}, "created_at": 1723584320.7562962, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff\") }}", "language": "sql", "refs": [{"name": "spot_synth_sold_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_sold_base_sepolia", "attached_node": "model.synthetix.spot_synth_sold_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_sold_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "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": 1723584320.7604616, "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": 1723584320.762071, "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_sold_base_sepolia_contract.8d370e2248": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_sold_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_sold_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_sold_base_sepolia_contract"], "alias": "not_null_spot_synth_sold_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7638443, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_sold_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "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": 1723584320.7654598, "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": 1723584320.7670665, "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_wrapped_base_sepolia_transaction_hash.7672de0496": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_wrapped_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.768774, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_wrapped_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.770398, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338"}, "created_at": 1723584320.7721126, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_contract"], "alias": "not_null_spot_synth_wrapped_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7761874, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_event_name"], "alias": "not_null_spot_synth_wrapped_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7782247, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped"], "alias": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57"}, "created_at": 1723584320.7799072, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthWrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthWrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_wrapped_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.783848, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_block_number"], "alias": "not_null_spot_synth_wrapped_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": 1723584320.78564, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_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.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_wrapped_base_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_wrapped_base_sepolia_fees_collected.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_wrapped_base_sepolia_fees_collected"], "alias": "not_null_spot_synth_wrapped_base_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7872658, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc"}, "created_at": 1723584320.7888975, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc\") }}", "language": "sql", "refs": [{"name": "spot_synth_wrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_wrapped_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_wrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_wrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_wrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.793076, "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_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "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": "block_timestamp", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.7947276, "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_amount_unwrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_unwrapped\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere amount_unwrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "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": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0"], "alias": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34"}, "created_at": 1723584320.7963994, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_unwrapped >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_unwrapped", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_unwrapped", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_fees_collected", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_fees_collected.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_fees_collected"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_fees_collected", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.800578, "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_fees_collected.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fees_collected\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere fees_collected is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "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": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0"], "alias": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639"}, "created_at": 1723584320.802233, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fees_collected >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fees_collected", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fees_collected", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_event_name.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_event_name"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8064137, "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_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "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": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped"], "alias": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446"}, "created_at": 1723584320.8081033, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "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/accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'SynthUnwrapped'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["SynthUnwrapped"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_block_number.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_block_number"], "alias": "not_null_spot_synth_unwrapped_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": 1723584320.8122208, "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_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_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.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.813835, "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_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "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": "transaction_hash", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_contract.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_contract"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8154671, "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_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "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": "contract", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_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": 1723584320.8170936, "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": 1723584320.8188117, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.spot_synth_unwrapped_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/spot/schema.yml/unique_spot_synth_unwrapped_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id"], "alias": "not_null_spot_synth_unwrapped_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8204477, "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_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_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": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql", "original_file_path": "models/raw/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "fqn": ["synthetix", "raw", "base", "sepolia", "spot", "dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd"}, "created_at": 1723584320.822051, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd\") }}", "language": "sql", "refs": [{"name": "spot_synth_unwrapped_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "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/dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_raw_base_sepolia\".\"spot_synth_unwrapped_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.spot_synth_unwrapped_base_sepolia", "attached_node": "model.synthetix.spot_synth_unwrapped_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('spot_synth_unwrapped_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_ts"], "alias": "not_null_fct_pool_rewards_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8581758, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8599114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde"}, "created_at": 1723584320.8615623, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8658009, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_distributor.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8674552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_eth_mainnet_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": 1723584320.869072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\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": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_eth_mainnet_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_eth_mainnet_amount"], "alias": "not_null_fct_pool_rewards_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8706715, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720"}, "created_at": 1723584320.8724494, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_ts"], "alias": "not_null_fct_core_account_delegation_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.87653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_eth_mainnet_account_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_account_id"], "alias": "not_null_fct_core_account_delegation_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.878375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_pool_id"], "alias": "not_null_fct_core_account_delegation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8800616, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_delegation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff"}, "created_at": 1723584320.8816788, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_68b57970c09830d418df224418591310"}, "created_at": 1723584320.8858814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_68b57970c09830d418df224418591310\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_68b57970c09830d418df224418591310.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_eth_mainnet_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_account_delegation_eth_mainnet_amount_delegated"], "alias": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558"}, "created_at": 1723584320.8875566, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07"}, "created_at": 1723584320.8891952, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_account_delegation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_ts"], "alias": "not_null_fct_core_apr_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8933537, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_pool_id"], "alias": "not_null_fct_core_apr_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.8949933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9"}, "created_at": 1723584320.8966699, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_apr_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.900885, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_collateral_value.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_collateral_value"], "alias": "not_null_fct_core_apr_eth_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9025116, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1"}, "created_at": 1723584320.9041948, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_debt.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_debt"], "alias": "not_null_fct_core_apr_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9083617, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_issuance"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9100006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9116216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_debt_migrated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_debt_migrated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_pnl"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9133499, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_cumulative_pnl"], "alias": "not_null_fct_core_apr_eth_mainnet_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9149456, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_cumulative_issuance"], "alias": "not_null_fct_core_apr_eth_mainnet_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9165702, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_rewards_usd"], "alias": "not_null_fct_core_apr_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9181657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171"}, "created_at": 1723584320.9198925, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9240556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995"}, "created_at": 1723584320.9257782, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\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 hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9299843, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464"}, "created_at": 1723584320.931669, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apr_24h.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apr_24h"], "alias": "not_null_fct_core_apr_eth_mainnet_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9358778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apy_24h.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apy_24h"], "alias": "not_null_fct_core_apr_eth_mainnet_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9375076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apr_7d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apr_7d"], "alias": "not_null_fct_core_apr_eth_mainnet_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9391499, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apy_7d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apy_7d"], "alias": "not_null_fct_core_apr_eth_mainnet_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9413264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apr_28d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apr_28d"], "alias": "not_null_fct_core_apr_eth_mainnet_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9429154, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_eth_mainnet_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_eth_mainnet_apy_28d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_apr_eth_mainnet_apy_28d"], "alias": "not_null_fct_core_apr_eth_mainnet_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.944535, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_apr_eth_mainnet_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_apr_eth_mainnet\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_eth_mainnet", "attached_node": "model.synthetix.fct_core_apr_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_id"], "alias": "not_null_fct_core_market_updated_eth_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": 1723584320.946128, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_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.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_eth_mainnet_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "unique_fct_core_market_updated_eth_mainnet_id"], "alias": "unique_fct_core_market_updated_eth_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": 1723584320.9477293, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/unique_fct_core_market_updated_eth_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_eth_mainnet\".\"fct_core_market_updated_eth_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.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_ts"], "alias": "not_null_fct_core_market_updated_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.949415, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_transaction_hash"], "alias": "not_null_fct_core_market_updated_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.950991, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_event_name.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_event_name"], "alias": "not_null_fct_core_market_updated_eth_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.952605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0"}, "created_at": 1723584320.954219, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_market_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_market_id"], "alias": "not_null_fct_core_market_updated_eth_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9583051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e"}, "created_at": 1723584320.959949, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_market_updated_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9640691, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_credit_capacity"], "alias": "not_null_fct_core_market_updated_eth_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9656816, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_net_issuance"], "alias": "not_null_fct_core_market_updated_eth_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9672933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_eth_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_eth_mainnet_token_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_market_updated_eth_mainnet_token_amount"], "alias": "not_null_fct_core_market_updated_eth_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9690127, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_market_updated_eth_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_market_updated_eth_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_eth_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_collateral_eth_mainnet_ts"], "alias": "not_null_fct_core_pool_collateral_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9706073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_collateral_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.972226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited"], "alias": "not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9738243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_collateral_eth_mainnet\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_delegation_eth_mainnet_ts"], "alias": "not_null_fct_core_pool_delegation_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9754226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_delegation_eth_mainnet_pool_id"], "alias": "not_null_fct_core_pool_delegation_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9771066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467"}, "created_at": 1723584320.978691, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_delegation_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9829173, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pool_delegation_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_eth_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_id"], "alias": "not_null_fct_core_pools_eth_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": 1723584320.9845614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_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.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9861577, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_created_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_created_ts"], "alias": "not_null_fct_core_pools_eth_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.990127, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_block_number"], "alias": "not_null_fct_core_pools_eth_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": 1723584320.9917734, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_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.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_eth_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_eth_mainnet_owner.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_pools_eth_mainnet_owner"], "alias": "not_null_fct_core_pools_eth_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9933789, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_pools_eth_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_pools_eth_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_eth_mainnet", "attached_node": "model.synthetix.fct_core_pools_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_ts"], "alias": "not_null_fct_pool_debt_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9950118, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_block_number"], "alias": "not_null_fct_pool_debt_eth_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": 1723584320.996747, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_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.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_debt_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584320.9983532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f"}, "created_at": 1723584320.9999793, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_debt_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0041306, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_eth_mainnet_debt.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_debt_eth_mainnet_debt"], "alias": "not_null_fct_pool_debt_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0057285, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_debt_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_eth_mainnet", "attached_node": "model.synthetix.fct_pool_debt_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0073535, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0089421, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77"}, "created_at": 1723584321.0106277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0147011, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0165184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_ts"], "alias": "not_null_fct_pool_issuance_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0181239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_block_number"], "alias": "not_null_fct_pool_issuance_eth_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": 1723584321.0197566, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_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.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_transaction_hash"], "alias": "not_null_fct_pool_issuance_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0213747, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0229843, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646"}, "created_at": 1723584321.0252519, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0293558, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_account_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_account_id"], "alias": "not_null_fct_pool_issuance_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.031155, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_eth_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_eth_mainnet_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_issuance_eth_mainnet_amount"], "alias": "not_null_fct_pool_issuance_eth_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0327868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_issuance_eth_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_eth_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.034399, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.036108, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f"}, "created_at": 1723584321.0377104, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0418622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0435061, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35"}, "created_at": 1723584321.0451243, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_debt"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.049273, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0508888, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.05268, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0542753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_debt_migrated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_debt_migrated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0558915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185"}, "created_at": 1723584321.05751, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.061696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19"}, "created_at": 1723584321.0634277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\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 hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0677185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d"}, "created_at": 1723584321.0693703, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0735478, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_pnl_hourly_eth_mainnet\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0752091, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0767932, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a"}, "created_at": 1723584321.0783832, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0826063, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.084271, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2"}, "created_at": 1723584321.0858834, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0901043, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0917656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623"}, "created_at": 1723584321.0935266, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c"}, "created_at": 1723584321.0975854, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.0992718, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_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": 1723584321.1011114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\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": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1027362, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d"}, "created_at": 1723584321.1043782, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506"}, "created_at": 1723584321.1089044, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088"}, "created_at": 1723584321.1105294, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b"}, "created_at": 1723584321.1146328, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec"}, "created_at": 1723584321.1162808, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.120419, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511"}, "created_at": 1723584321.1220427, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_ts"], "alias": "not_null_fct_core_migration_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1262014, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_block_number.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_block_number"], "alias": "not_null_fct_core_migration_eth_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": 1723584321.1278372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_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.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_transaction_hash.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_transaction_hash"], "alias": "not_null_fct_core_migration_eth_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1294587, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_pool_id"], "alias": "not_null_fct_core_migration_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.13104, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1"], "alias": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887"}, "created_at": 1723584321.1327739, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 1\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 pool_id <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 1, "max_value": 1, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_migration_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1367788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F"], "alias": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c"}, "created_at": 1723584321.1385732, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n collateral_type as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\n group by collateral_type\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F"], "column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_staker", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_staker.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_staker"], "alias": "not_null_fct_core_migration_eth_mainnet_staker", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1429143, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_staker.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect staker\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere staker is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "staker", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "staker", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_account_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_account_id"], "alias": "not_null_fct_core_migration_eth_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1447494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_collateral_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_collateral_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_collateral_amount"], "alias": "not_null_fct_core_migration_eth_mainnet_collateral_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1463532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_collateral_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere collateral_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b"}, "created_at": 1723584321.1479874, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_amount", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_amount", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_eth_mainnet_debt_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_eth_mainnet_debt_amount.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_eth_mainnet_debt_amount"], "alias": "not_null_fct_core_migration_eth_mainnet_debt_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1521685, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_eth_mainnet_debt_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt_amount\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_eth_mainnet\"\nwhere debt_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt_amount", "file_key_name": "models.fct_core_migration_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt_amount", "model": "{{ get_where_subquery(ref('fct_core_migration_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_ts"], "alias": "not_null_fct_core_migration_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1537845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_pool_id"], "alias": "not_null_fct_core_migration_hourly_eth_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1553993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917"}, "created_at": 1723584321.1570137, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type"], "alias": "not_null_fct_core_migration_hourly_eth_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.161155, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated"], "alias": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b"}, "created_at": 1723584321.162776, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_debt_migrated\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\nwhere hourly_debt_migrated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql", "original_file_path": "models/marts/eth/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "fqn": ["synthetix", "marts", "eth", "mainnet", "core", "dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a"}, "created_at": 1723584321.164423, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a\") }}", "language": "sql", "refs": [{"name": "fct_core_migration_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_migration_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_debt_migrated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_debt_migrated", "file_key_name": "models.fct_core_migration_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_debt_migrated", "model": "{{ get_where_subquery(ref('fct_core_migration_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_eth_mainnet_ts"], "alias": "not_null_fct_prices_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1710799, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_eth_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_eth_mainnet_market_symbol.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_eth_mainnet_market_symbol"], "alias": "not_null_fct_prices_eth_mainnet_market_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": 1723584321.1727653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_eth_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_eth_mainnet_price.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_eth_mainnet_price"], "alias": "not_null_fct_prices_eth_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1743925, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_eth_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1762662, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_eth_mainnet", "attached_node": "model.synthetix.fct_prices_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_eth_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_eth_mainnet_ts.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_hourly_eth_mainnet_ts"], "alias": "not_null_fct_prices_hourly_eth_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1800637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_eth_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_hourly_eth_mainnet_market_symbol"], "alias": "not_null_fct_prices_hourly_eth_mainnet_market_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": 1723584321.181693, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_eth_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_eth_mainnet_price.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "not_null_fct_prices_hourly_eth_mainnet_price"], "alias": "not_null_fct_prices_hourly_eth_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.1835108, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/not_null_fct_prices_hourly_eth_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql", "original_file_path": "models/marts/eth/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "fqn": ["synthetix", "marts", "eth", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a"}, "created_at": 1723584321.1851041, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_eth_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_eth_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/eth/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_eth_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_eth_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_eth_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2070477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2088344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3"}, "created_at": 1723584321.2104561, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2146087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.216243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_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": 1723584321.2178333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\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": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_arbitrum_mainnet_amount"], "alias": "not_null_fct_pool_rewards_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.219446, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee"}, "created_at": 1723584321.2210305, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_account_delegation_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2251723, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_account_id"], "alias": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583"}, "created_at": 1723584321.226806, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2285995, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c"}, "created_at": 1723584321.2302122, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164"}, "created_at": 1723584321.2343311, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated"], "alias": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488"}, "created_at": 1723584321.2361228, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed"}, "created_at": 1723584321.2377255, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_account_delegation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2418704, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2434947, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0"}, "created_at": 1723584321.2450936, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2492266, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_collateral_value"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.25084, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656"}, "created_at": 1723584321.2525284, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_debt.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_debt"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2568262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2584422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2602673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2621057, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2637496, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2653453, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1"}, "created_at": 1723584321.2669647, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.271594, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431"}, "created_at": 1723584321.2732277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\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 hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2773778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a"}, "created_at": 1723584321.2790236, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apr_24h"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2832017, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apy_24h"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2848241, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apr_7d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2864435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apy_7d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2880592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apr_28d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2897701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_mainnet_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_apr_arbitrum_mainnet_apy_28d"], "alias": "not_null_fct_core_apr_arbitrum_mainnet_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2913854, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_apr_arbitrum_mainnet_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_apr_arbitrum_mainnet\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_apr_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_id"], "alias": "not_null_fct_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": 1723584321.2929778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_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.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "unique_fct_core_market_updated_arbitrum_mainnet_id"], "alias": "unique_fct_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": 1723584321.294579, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/unique_fct_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_arbitrum_mainnet\".\"fct_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.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2961986, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_market_updat_4b643cda1c91c522d066b35480cce379"}, "created_at": 1723584321.297898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_event_name"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.2995508, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd"}, "created_at": 1723584321.30127, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_market_id"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3054614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d"}, "created_at": 1723584321.3071544, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1"}, "created_at": 1723584321.3113556, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity"], "alias": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8"}, "created_at": 1723584321.3129618, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3145523, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount"], "alias": "not_null_fct_core_market_updated_arbitrum_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3161461, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_market_updated_arbitrum_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_pool_collateral_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.317863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f"}, "created_at": 1723584321.3194568, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited"], "alias": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39"}, "created_at": 1723584321.3210244, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_collateral_arbitrum_mainnet\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts"], "alias": "not_null_fct_core_pool_delegation_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3225818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3242683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75"}, "created_at": 1723584321.325844, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655"}, "created_at": 1723584321.330055, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pool_delegation_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_id"], "alias": "not_null_fct_core_pools_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": 1723584321.331689, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_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.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3"}, "created_at": 1723584321.3333, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_created_ts"], "alias": "not_null_fct_core_pools_arbitrum_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3374474, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_block_number"], "alias": "not_null_fct_core_pools_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": 1723584321.3390574, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_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.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_mainnet_owner.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_core_pools_arbitrum_mainnet_owner"], "alias": "not_null_fct_core_pools_arbitrum_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3406663, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_core_pools_arbitrum_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_core_pools_arbitrum_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_arbitrum_mainnet", "attached_node": "model.synthetix.fct_core_pools_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3423395, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_block_number"], "alias": "not_null_fct_pool_debt_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": 1723584321.3440664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_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.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3456652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990"}, "created_at": 1723584321.3473074, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3518023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_mainnet_debt.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_debt_arbitrum_mainnet_debt"], "alias": "not_null_fct_pool_debt_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3534002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_debt_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.354993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.356599, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5"}, "created_at": 1723584321.358277, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860"}, "created_at": 1723584321.3622642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78"}, "created_at": 1723584321.3640606, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.365651, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_block_number"], "alias": "not_null_fct_pool_issuance_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": 1723584321.367242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_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.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3688228, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3703954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708"}, "created_at": 1723584321.372105, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3760915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_account_id"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3778586, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_issuance_arbitrum_mainnet_amount"], "alias": "not_null_fct_pool_issuance_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.379489, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_issuance_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3810673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3826284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536"}, "created_at": 1723584321.3842514, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3883507, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3899872, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286"}, "created_at": 1723584321.3915973, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3957076, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3973067, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.3990424, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4007647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86"}, "created_at": 1723584321.4023535, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4064937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7"}, "created_at": 1723584321.4081454, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\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 hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9"}, "created_at": 1723584321.4123347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb"}, "created_at": 1723584321.4139645, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.418089, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_pnl_hourly_arbitrum_mainnet\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4197395, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.421307, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f"}, "created_at": 1723584321.4228976, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1"}, "created_at": 1723584321.427041, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4287212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019"}, "created_at": 1723584321.430338, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4348845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4365249, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c"}, "created_at": 1723584321.4381337, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_155765ddde142e379951332067798d41"}, "created_at": 1723584321.4423974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a"}, "created_at": 1723584321.4440649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24"}, "created_at": 1723584321.4458086, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\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": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.447434, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48"}, "created_at": 1723584321.4490538, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81"}, "created_at": 1723584321.4532394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f"}, "created_at": 1723584321.4548612, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3"}, "created_at": 1723584321.4590592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02"}, "created_at": 1723584321.4606855, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9"}, "created_at": 1723584321.464905, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql", "original_file_path": "models/marts/arbitrum/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949"}, "created_at": 1723584321.4665425, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_ts"], "alias": "not_null_fct_synth_supply_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4761913, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_block_number"], "alias": "not_null_fct_synth_supply_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": 1723584321.478099, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_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.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id"], "alias": "not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4797509, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f"}, "created_at": 1723584321.4813576, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_mainnet_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_mainnet_supply.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_synth_supply_arbitrum_mainnet_supply"], "alias": "not_null_fct_synth_supply_arbitrum_mainnet_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4856145, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_synth_supply_arbitrum_mainnet_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_synth_supply_arbitrum_mainnet\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_arbitrum_mainnet", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_id"], "alias": "not_null_fct_spot_atomics_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": 1723584321.4872735, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_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.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "unique_fct_spot_atomics_arbitrum_mainnet_id"], "alias": "unique_fct_spot_atomics_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": 1723584321.488935, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_atomics_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_arbitrum_mainnet\".\"fct_spot_atomics_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.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_ts"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4905307, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_block_number"], "alias": "not_null_fct_spot_atomics_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": 1723584321.492302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_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.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4939072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.4955118, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd"}, "created_at": 1723584321.4971182, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_price"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5013673, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_amount"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5029993, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_atomics_arbitrum_mainnet_referrer"], "alias": "not_null_fct_spot_atomics_arbitrum_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5047202, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_atomics_arbitrum_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_id"], "alias": "not_null_fct_spot_markets_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": 1723584321.5064635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_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.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914"}, "created_at": 1723584321.5081139, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_created_ts"], "alias": "not_null_fct_spot_markets_arbitrum_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5121794, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_block_number"], "alias": "not_null_fct_spot_markets_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": 1723584321.5139675, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_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.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_mainnet_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_markets_arbitrum_mainnet_token_address"], "alias": "not_null_fct_spot_markets_arbitrum_mainnet_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": 1723584321.5156212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_markets_arbitrum_mainnet_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_markets_arbitrum_mainnet\"\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": "models.fct_spot_markets_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_id"], "alias": "not_null_fct_spot_wrapper_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": 1723584321.517199, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_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.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_arbitrum_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_arbitrum_mainnet_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "unique_fct_spot_wrapper_arbitrum_mainnet_id"], "alias": "unique_fct_spot_wrapper_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": 1723584321.5187728, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/unique_fct_spot_wrapper_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_arbitrum_mainnet\".\"fct_spot_wrapper_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.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_ts"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.520879, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_block_number"], "alias": "not_null_fct_spot_wrapper_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": 1723584321.5224795, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_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.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5240963, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5256658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77"}, "created_at": 1723584321.527285, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql", "original_file_path": "models/marts/arbitrum/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "spot", "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5314045, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_spot_wrapper_arbitrum_mainnet\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_arbitrum_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_arbitrum_mainnet_ts"], "alias": "not_null_fct_prices_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.535024, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_prices_arbitrum_mainnet_market_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": 1723584321.5369072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_arbitrum_mainnet_price"], "alias": "not_null_fct_prices_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5385404, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e"}, "created_at": 1723584321.540237, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e\") }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_hourly_arbitrum_mainnet_ts"], "alias": "not_null_fct_prices_hourly_arbitrum_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5443883, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol"], "alias": "not_null_fct_prices_hourly_arbitrum_mainnet_market_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": 1723584321.5459974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_mainnet_price.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "not_null_fct_prices_hourly_arbitrum_mainnet_price"], "alias": "not_null_fct_prices_hourly_arbitrum_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5476046, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql", "original_file_path": "models/marts/arbitrum/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "fqn": ["synthetix", "marts", "arbitrum", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900"}, "created_at": 1723584321.549208, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5712204, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5728438, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f"}, "created_at": 1723584321.5744681, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5785966, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.580246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_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": 1723584321.5818477, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\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": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_arbitrum_sepolia_amount"], "alias": "not_null_fct_pool_rewards_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.583585, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a"}, "created_at": 1723584321.58517, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_account_delegation_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5892065, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_account_id"], "alias": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2"}, "created_at": 1723584321.5909824, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.5925872, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9"}, "created_at": 1723584321.5941691, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406"}, "created_at": 1723584321.5983, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated"], "alias": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe"}, "created_at": 1723584321.5999403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747"}, "created_at": 1723584321.6015437, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_account_delegation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.60603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.607649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0"}, "created_at": 1723584321.6092534, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6133583, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_collateral_value"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6149695, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81"}, "created_at": 1723584321.616615, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_debt.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_debt"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6207757, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6223836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6241536, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.625765, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.627383, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6290572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a"}, "created_at": 1723584321.6306562, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6347914, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09"}, "created_at": 1723584321.6364808, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\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 hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6406302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed"}, "created_at": 1723584321.6422799, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apr_24h"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6464567, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apy_24h"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.648113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apr_7d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6497262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apy_7d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6513457, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apr_28d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.653057, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_arbitrum_sepolia_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_apr_arbitrum_sepolia_apy_28d"], "alias": "not_null_fct_core_apr_arbitrum_sepolia_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6546402, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_apr_arbitrum_sepolia_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_apr_arbitrum_sepolia\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_apr_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_id"], "alias": "not_null_fct_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": 1723584321.656276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_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.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "unique_fct_core_market_updated_arbitrum_sepolia_id"], "alias": "unique_fct_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": 1723584321.657882, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/unique_fct_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_arbitrum_sepolia\".\"fct_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.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6596005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c"}, "created_at": 1723584321.661212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_event_name"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6627877, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94"}, "created_at": 1723584321.6644232, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_market_id"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.66856, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9"}, "created_at": 1723584321.6702042, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7"}, "created_at": 1723584321.6743677, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity"], "alias": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_market_updat_deb18cd73203d572302c2f3a96563472"}, "created_at": 1723584321.6760316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6776657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount"], "alias": "not_null_fct_core_market_updated_arbitrum_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.67939, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_market_updated_arbitrum_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_pool_collateral_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.680997, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da"}, "created_at": 1723584321.6825795, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited"], "alias": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e"}, "created_at": 1723584321.6841836, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_collateral_arbitrum_sepolia\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts"], "alias": "not_null_fct_core_pool_delegation_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6857605, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.6878645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21"}, "created_at": 1723584321.6894631, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427"}, "created_at": 1723584321.6936376, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pool_delegation_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_id"], "alias": "not_null_fct_core_pools_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": 1723584321.6952724, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_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.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4"}, "created_at": 1723584321.6968794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_created_ts"], "alias": "not_null_fct_core_pools_arbitrum_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7010374, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_block_number"], "alias": "not_null_fct_core_pools_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": 1723584321.702713, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_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.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_arbitrum_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_arbitrum_sepolia_owner.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_core_pools_arbitrum_sepolia_owner"], "alias": "not_null_fct_core_pools_arbitrum_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.704332, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_core_pools_arbitrum_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_core_pools_arbitrum_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_arbitrum_sepolia", "attached_node": "model.synthetix.fct_core_pools_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.705916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_block_number"], "alias": "not_null_fct_pool_debt_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": 1723584321.707696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_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.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7092977, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5"}, "created_at": 1723584321.7109027, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.71503, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_arbitrum_sepolia_debt.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_debt_arbitrum_sepolia_debt"], "alias": "not_null_fct_pool_debt_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.716671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_debt_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7182498, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7198322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942"}, "created_at": 1723584321.721531, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374"}, "created_at": 1723584321.725568, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270"}, "created_at": 1723584321.727399, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7290301, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_block_number"], "alias": "not_null_fct_pool_issuance_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": 1723584321.730637, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_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.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7322645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7338762, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475"}, "created_at": 1723584321.7356205, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7397792, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_account_id"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7415764, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_issuance_arbitrum_sepolia_amount"], "alias": "not_null_fct_pool_issuance_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7432227, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_issuance_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7448397, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7464175, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd"}, "created_at": 1723584321.7480292, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7522373, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7538626, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b"}, "created_at": 1723584321.7554958, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.759622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7612455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7629561, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.764642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859"}, "created_at": 1723584321.7662325, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.770731, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1"], "alias": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1"}, "created_at": 1723584321.7724042, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_pnl_pct >= -1\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 hourly_pnl_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": -1, "max_value": 1, "inclusive": true, "column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4"}, "created_at": 1723584321.776555, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59"}, "created_at": 1723584321.7781904, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7823243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_pnl_hourly_arbitrum_sepolia\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.783968, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7855902, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542"}, "created_at": 1723584321.7872198, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097"}, "created_at": 1723584321.791359, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7929623, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf"}, "created_at": 1723584321.7945578, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.7987187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8003747, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658"}, "created_at": 1723584321.802023, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36"}, "created_at": 1723584321.8061671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69"}, "created_at": 1723584321.8078053, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a"}, "created_at": 1723584321.8094409, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\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": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price"], "alias": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8111753, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91"}, "created_at": 1723584321.8127804, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128"}, "created_at": 1723584321.8169644, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762"}, "created_at": 1723584321.8185804, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6"}, "created_at": 1723584321.82261, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76"}, "created_at": 1723584321.8243876, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18"}, "created_at": 1723584321.8284125, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql", "original_file_path": "models/marts/arbitrum/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde"}, "created_at": 1723584321.830182, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_ts"], "alias": "not_null_fct_synth_supply_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.83897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_block_number"], "alias": "not_null_fct_synth_supply_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": 1723584321.840951, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_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.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id"], "alias": "not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.842599, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5"}, "created_at": 1723584321.8442385, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_arbitrum_sepolia_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_arbitrum_sepolia_supply.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_synth_supply_arbitrum_sepolia_supply"], "alias": "not_null_fct_synth_supply_arbitrum_sepolia_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8484046, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_synth_supply_arbitrum_sepolia_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_synth_supply_arbitrum_sepolia\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_arbitrum_sepolia", "attached_node": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_id"], "alias": "not_null_fct_spot_atomics_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": 1723584321.8500278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_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.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "unique_fct_spot_atomics_arbitrum_sepolia_id"], "alias": "unique_fct_spot_atomics_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": 1723584321.8516438, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_atomics_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_arbitrum_sepolia\".\"fct_spot_atomics_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.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_ts"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8532114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_block_number"], "alias": "not_null_fct_spot_atomics_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": 1723584321.8553545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_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.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.856933, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8584971, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8"}, "created_at": 1723584321.8601055, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_price"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8642664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_amount"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8658648, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_arbitrum_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_atomics_arbitrum_sepolia_referrer"], "alias": "not_null_fct_spot_atomics_arbitrum_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8674755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_atomics_arbitrum_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_atomics_arbitrum_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_id"], "alias": "not_null_fct_spot_markets_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": 1723584321.8692026, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_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.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675"}, "created_at": 1723584321.870804, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_created_ts"], "alias": "not_null_fct_spot_markets_arbitrum_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8748286, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_block_number"], "alias": "not_null_fct_spot_markets_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": 1723584321.8767276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_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.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_arbitrum_sepolia_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_markets_arbitrum_sepolia_token_address"], "alias": "not_null_fct_spot_markets_arbitrum_sepolia_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": 1723584321.8783445, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_markets_arbitrum_sepolia_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_markets_arbitrum_sepolia\"\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": "models.fct_spot_markets_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_id"], "alias": "not_null_fct_spot_wrapper_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": 1723584321.8799834, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_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.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_arbitrum_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_arbitrum_sepolia_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "unique_fct_spot_wrapper_arbitrum_sepolia_id"], "alias": "unique_fct_spot_wrapper_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": 1723584321.8815582, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/unique_fct_spot_wrapper_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_arbitrum_sepolia\".\"fct_spot_wrapper_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.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_ts"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8832674, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_block_number"], "alias": "not_null_fct_spot_wrapper_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": 1723584321.884859, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_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.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8864276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8880186, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d"}, "created_at": 1723584321.88961, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql", "original_file_path": "models/marts/arbitrum/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "spot", "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8937325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_spot_wrapper_arbitrum_sepolia\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_arbitrum_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_arbitrum_sepolia_ts"], "alias": "not_null_fct_prices_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.8974087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_prices_arbitrum_sepolia_market_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": 1723584321.8993008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_arbitrum_sepolia_price"], "alias": "not_null_fct_prices_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.900963, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095"}, "created_at": 1723584321.9026544, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095\") }}", "language": "sql", "refs": [{"name": "fct_prices_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_hourly_arbitrum_sepolia_ts"], "alias": "not_null_fct_prices_hourly_arbitrum_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.906803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol"], "alias": "not_null_fct_prices_hourly_arbitrum_sepolia_market_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": 1723584321.9084435, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_arbitrum_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_arbitrum_sepolia_price.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "not_null_fct_prices_hourly_arbitrum_sepolia_price"], "alias": "not_null_fct_prices_hourly_arbitrum_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.910035, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/not_null_fct_prices_hourly_arbitrum_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql", "original_file_path": "models/marts/arbitrum/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "fqn": ["synthetix", "marts", "arbitrum", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a"}, "created_at": 1723584321.9116664, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_arbitrum_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_arbitrum_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/arbitrum/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_arbitrum_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_arbitrum_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_id"], "alias": "not_null_fct_perp_interest_charged_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": 1723584321.96665, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_interest_charged_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_interest_charged_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_interest_charged_base_mainnet_id"], "alias": "unique_fct_perp_interest_charged_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": 1723584321.968333, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_interest_charged_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_base_mainnet\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.97005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_block_number"], "alias": "not_null_fct_perp_interest_charged_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": 1723584321.9716907, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8"}, "created_at": 1723584321.9732873, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_contract"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9748657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_event_name.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_event_name"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.97649, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged"], "alias": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56"}, "created_at": 1723584321.978185, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_account_id"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9821684, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf"}, "created_at": 1723584321.9839783, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_mainnet_interest", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_mainnet_interest.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_interest_charged_base_mainnet_interest"], "alias": "not_null_fct_perp_interest_charged_base_mainnet_interest", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584321.9880042, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_interest_charged_base_mainnet_interest.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\nwhere interest is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0"], "alias": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772"}, "created_at": 1723584321.9897265, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_interest_charged_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_mainnet", "attached_node": "model.synthetix.fct_perp_interest_charged_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_id"], "alias": "not_null_fct_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": 1723584321.993886, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_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.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_collateral_modified_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_collateral_modified_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_collateral_modified_base_mainnet_id"], "alias": "unique_fct_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": 1723584321.995591, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_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_base_mainnet\".\"fct_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.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp"], "alias": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d"}, "created_at": 1723584321.9973423, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_block_number"], "alias": "not_null_fct_perp_collateral_modified_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": 1723584321.9989336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042"}, "created_at": 1723584322.0005448, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_contract"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.002117, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_event_name"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0037346, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified"], "alias": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1"}, "created_at": 1723584322.0054786, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id"], "alias": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2"}, "created_at": 1723584322.00946, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0"}, "created_at": 1723584322.0110881, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_mainnet_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_mainnet_sender.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_collateral_modified_base_mainnet_sender"], "alias": "not_null_fct_perp_collateral_modified_base_mainnet_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0154693, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_collateral_modified_base_mainnet_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_collateral_modified_base_mainnet\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.fct_perp_collateral_modified_base_mainnet", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_id"], "alias": "not_null_fct_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": 1723584322.0170822, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_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.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_previous_order_expired_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_previous_order_expired_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_previous_order_expired_base_mainnet_id"], "alias": "unique_fct_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": 1723584322.0188239, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_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_base_mainnet\".\"fct_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.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp"], "alias": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09"}, "created_at": 1723584322.020512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_block_number"], "alias": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112"}, "created_at": 1723584322.0220928, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c"}, "created_at": 1723584322.0236897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_contract"], "alias": "not_null_fct_perp_previous_order_expired_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.025268, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_event_name"], "alias": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002"}, "created_at": 1723584322.026939, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired"], "alias": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd"}, "created_at": 1723584322.0285738, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_market_id"], "alias": "not_null_fct_perp_previous_order_expired_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.032705, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633"}, "created_at": 1723584322.0343451, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_previous_order_expired_base_mainnet_account_id"], "alias": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47"}, "created_at": 1723584322.0385442, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799"}, "created_at": 1723584322.0403936, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_previous_order_expired_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_mainnet", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_id"], "alias": "not_null_fct_perp_trades_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": 1723584322.0444667, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_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.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_trades_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_trades_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_trades_base_mainnet_id"], "alias": "unique_fct_perp_trades_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": 1723584322.046237, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_trades_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_base_mainnet\".\"fct_perp_trades_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.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_ts"], "alias": "not_null_fct_perp_trades_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.047868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_block_number"], "alias": "not_null_fct_perp_trades_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": 1723584322.049463, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_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.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_trades_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0510411, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_contract"], "alias": "not_null_fct_perp_trades_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0526953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_market_id"], "alias": "not_null_fct_perp_trades_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0543964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75"}, "created_at": 1723584322.0560133, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_trades_base_mainnet_market_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": 1723584322.0603197, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_account_id"], "alias": "not_null_fct_perp_trades_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.06193, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_fill_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_fill_price.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_fill_price"], "alias": "not_null_fct_perp_trades_base_mainnet_fill_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0635252, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_fill_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fill_price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere fill_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035"}, "created_at": 1723584322.0651226, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fill_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_pnl.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_pnl"], "alias": "not_null_fct_perp_trades_base_mainnet_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0694485, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pnl", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pnl", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_accrued_funding", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_accrued_funding.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_accrued_funding"], "alias": "not_null_fct_perp_trades_base_mainnet_accrued_funding", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0710883, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_accrued_funding.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect accrued_funding\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere accrued_funding is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "accrued_funding", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "accrued_funding", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_trade_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_trade_size"], "alias": "not_null_fct_perp_trades_base_mainnet_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.072785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect trade_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "trade_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_position_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_position_size"], "alias": "not_null_fct_perp_trades_base_mainnet_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.074509, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_total_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_total_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_total_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_total_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0761309, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_total_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere total_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab"}, "created_at": 1723584322.0777175, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_referral_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_referral_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_referral_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_referral_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0819201, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_referral_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referral_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere referral_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382"}, "created_at": 1723584322.0835614, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not referral_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_collected_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_collected_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0877168, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80"}, "created_at": 1723584322.0893264, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_settlement_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_settlement_reward.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_settlement_reward"], "alias": "not_null_fct_perp_trades_base_mainnet_settlement_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.093829, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settlement_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settlement_reward\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere settlement_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586"}, "created_at": 1723584322.0954564, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not settlement_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_tracking_code", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_tracking_code.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_tracking_code"], "alias": "not_null_fct_perp_trades_base_mainnet_tracking_code", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.0994823, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_tracking_code.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tracking_code\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere tracking_code is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tracking_code", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tracking_code", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_settler.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_settler"], "alias": "not_null_fct_perp_trades_base_mainnet_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1012354, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_notional_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_notional_trade_size"], "alias": "not_null_fct_perp_trades_base_mainnet_notional_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1028545, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_trade_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere notional_trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_trade_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_notional_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_notional_position_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_notional_position_size"], "alias": "not_null_fct_perp_trades_base_mainnet_notional_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1044536, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_notional_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_position_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere notional_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_position_size", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_lp_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_lp_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_lp_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_lp_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1060119, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_lp_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect lp_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere lp_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"severity": "warn", "alias": "dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006"}, "created_at": 1723584322.1081078, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_79500ffafcda43bd106402b84a9c0006.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not lp_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_mainnet_exchange_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_mainnet_exchange_fees.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_trades_base_mainnet_exchange_fees"], "alias": "not_null_fct_perp_trades_base_mainnet_exchange_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1121774, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_trades_base_mainnet_exchange_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect exchange_fees\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\nwhere exchange_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386"}, "created_at": 1723584322.1139586, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not exchange_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_mainnet", "attached_node": "model.synthetix.fct_perp_trades_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_pnl_base_mainnet_ts"], "alias": "not_null_fct_perp_pnl_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1179328, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_pnl_base_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_pnl_base_mainnet_market_id"], "alias": "not_null_fct_perp_pnl_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1195526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_pnl_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec"}, "created_at": 1723584322.1213067, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec\") }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_pnl_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_mainnet", "attached_node": "model.synthetix.fct_perp_pnl_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_id"], "alias": "not_null_fct_perp_orders_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": 1723584322.1252985, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_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.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_orders_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_orders_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_orders_base_mainnet_id"], "alias": "unique_fct_perp_orders_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": 1723584322.1270747, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_orders_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_base_mainnet\".\"fct_perp_orders_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.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_ts"], "alias": "not_null_fct_perp_orders_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1287217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_block_number"], "alias": "not_null_fct_perp_orders_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": 1723584322.1303291, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_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.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_orders_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1319184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_contract.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_contract"], "alias": "not_null_fct_perp_orders_base_mainnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1334817, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_market_id"], "alias": "not_null_fct_perp_orders_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1351786, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c"}, "created_at": 1723584322.1367924, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c\") }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_orders_base_mainnet_market_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": 1723584322.1409454, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_orders_base_mainnet_account_id"], "alias": "not_null_fct_perp_orders_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1425667, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_orders_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_orders_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_orders_base_mainnet", "attached_node": "model.synthetix.fct_perp_orders_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_id"], "alias": "not_null_fct_perp_markets_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": 1723584322.1442049, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_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.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf"}, "created_at": 1723584322.1458168, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf\") }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_created_ts"], "alias": "not_null_fct_perp_markets_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.149967, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_block_number"], "alias": "not_null_fct_perp_markets_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": 1723584322.151613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_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.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_markets_base_mainnet_market_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": 1723584322.1532078, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_mainnet_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_mainnet_market_name.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_markets_base_mainnet_market_name"], "alias": "not_null_fct_perp_markets_base_mainnet_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1549387, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_markets_base_mainnet_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.fct_perp_markets_base_mainnet", "attached_node": "model.synthetix.fct_perp_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_id"], "alias": "not_null_fct_perp_market_history_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": 1723584322.1565874, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_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.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_market_history_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_market_history_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_market_history_base_mainnet_id"], "alias": "unique_fct_perp_market_history_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": 1723584322.1581702, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_market_history_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_base_mainnet\".\"fct_perp_market_history_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.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_ts"], "alias": "not_null_fct_perp_market_history_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1597736, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_block_number"], "alias": "not_null_fct_perp_market_history_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": 1723584322.16138, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_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.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_market_history_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1630454, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_market_id"], "alias": "not_null_fct_perp_market_history_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1646473, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347"}, "created_at": 1723584322.1662297, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_market_history_base_mainnet_market_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": 1723584322.1703806, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_price"], "alias": "not_null_fct_perp_market_history_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1720405, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_skew", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_skew.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_skew"], "alias": "not_null_fct_perp_market_history_base_mainnet_skew", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1736403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_skew.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect skew\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere skew is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "skew", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "skew", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_size"], "alias": "not_null_fct_perp_market_history_base_mainnet_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1752565, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_size_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_size_delta.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_size_delta"], "alias": "not_null_fct_perp_market_history_base_mainnet_size_delta", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1772597, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_delta\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere size_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_delta", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_delta", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_funding_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_funding_rate.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_funding_rate"], "alias": "not_null_fct_perp_market_history_base_mainnet_funding_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1788287, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere funding_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_funding_velocity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_funding_velocity"], "alias": "not_null_fct_perp_market_history_base_mainnet_funding_velocity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1804252, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_velocity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_velocity\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere funding_velocity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_velocity", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_velocity", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_interest_rate.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_interest_rate"], "alias": "not_null_fct_perp_market_history_base_mainnet_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1819913, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr"], "alias": "not_null_fct_perp_market_history_base_mainnet_funding_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1836767, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate_apr\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere funding_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate_apr", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_long_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_long_rate_apr"], "alias": "not_null_fct_perp_market_history_base_mainnet_long_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1852696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_long_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_rate_apr\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere long_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_rate_apr", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_short_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_short_rate_apr"], "alias": "not_null_fct_perp_market_history_base_mainnet_short_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1868408, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_short_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_rate_apr\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere short_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_rate_apr", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_mainnet_size_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_mainnet_size_usd.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_market_history_base_mainnet_size_usd"], "alias": "not_null_fct_perp_market_history_base_mainnet_size_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1884458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_market_history_base_mainnet_size_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_market_history_base_mainnet\"\nwhere size_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_usd", "file_key_name": "models.fct_perp_market_history_base_mainnet", "attached_node": "model.synthetix.fct_perp_market_history_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_id"], "alias": "not_null_fct_perp_liq_position_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": 1723584322.1900375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_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.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_liq_position_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_liq_position_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_liq_position_base_mainnet_id"], "alias": "unique_fct_perp_liq_position_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": 1723584322.191771, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_liq_position_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_base_mainnet\".\"fct_perp_liq_position_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.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_ts"], "alias": "not_null_fct_perp_liq_position_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1933584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_block_number"], "alias": "not_null_fct_perp_liq_position_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": 1723584322.1949382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_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.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_transaction_hash"], "alias": "not_null_fct_perp_liq_position_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1965613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_account_id"], "alias": "not_null_fct_perp_liq_position_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.198241, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_market_id"], "alias": "not_null_fct_perp_liq_position_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.1998582, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d"}, "created_at": 1723584322.2014618, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_market_symbol"], "alias": "not_null_fct_perp_liq_position_base_mainnet_market_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": 1723584322.2055814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated"], "alias": "not_null_fct_perp_liq_position_base_mainnet_amount_liquidated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2072048, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107"}, "created_at": 1723584322.208794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_mainnet_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_mainnet_position_size.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_position_base_mainnet_position_size"], "alias": "not_null_fct_perp_liq_position_base_mainnet_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2129178, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_position_base_mainnet_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d"}, "created_at": 1723584322.2145538, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_position_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_position_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_account_base_mainnet_account_id"], "alias": "not_null_fct_perp_liq_account_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2186987, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_account_base_mainnet_ts"], "alias": "not_null_fct_perp_liq_account_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.220336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_mainnet_total_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_mainnet_total_reward.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_liq_account_base_mainnet_total_reward"], "alias": "not_null_fct_perp_liq_account_base_mainnet_total_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2219322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_liq_account_base_mainnet_total_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_reward\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\nwhere total_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac"}, "created_at": 1723584322.2235634, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_perp_liq_account_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_mainnet", "attached_node": "model.synthetix.fct_perp_liq_account_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_accounts_base_mainnet_id"], "alias": "not_null_fct_perp_accounts_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": 1723584322.2278986, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_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.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_accounts_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_accounts_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "unique_fct_perp_accounts_base_mainnet_id"], "alias": "unique_fct_perp_accounts_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": 1723584322.2295306, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/unique_fct_perp_accounts_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_base_mainnet\".\"fct_perp_accounts_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.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_accounts_base_mainnet_created_ts"], "alias": "not_null_fct_perp_accounts_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2312927, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_mainnet_owner.sql", "original_file_path": "models/marts/base/mainnet/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "fqn": ["synthetix", "marts", "base", "mainnet", "perp", "not_null_fct_perp_accounts_base_mainnet_owner"], "alias": "not_null_fct_perp_accounts_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2328877, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/perp/schema.yml/not_null_fct_perp_accounts_base_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_perp_accounts_base_mainnet", "attached_node": "model.synthetix.fct_perp_accounts_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_ts"], "alias": "not_null_fct_buyback_daily_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.240184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_snx_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2421074, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45"}, "created_at": 1723584322.2437816, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_usd_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.24803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56"}, "created_at": 1723584322.2496777, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.253721, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d"}, "created_at": 1723584322.255556, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount"], "alias": "not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2595599, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81"}, "created_at": 1723584322.261667, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_daily_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_mainnet", "attached_node": "model.synthetix.fct_buyback_daily_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_ts"], "alias": "not_null_fct_buyback_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2657032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2673652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1"}, "created_at": 1723584322.2691557, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.273195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca"}, "created_at": 1723584322.274983, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2789974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b"}, "created_at": 1723584322.2806566, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.284794, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72"}, "created_at": 1723584322.2864425, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_mainnet", "attached_node": "model.synthetix.fct_buyback_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_id"], "alias": "not_null_fct_buyback_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": 1723584322.2905746, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_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.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_buyback_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_buyback_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "unique_fct_buyback_base_mainnet_id"], "alias": "unique_fct_buyback_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": 1723584322.2922041, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/unique_fct_buyback_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_base_mainnet\".\"fct_buyback_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.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_ts"], "alias": "not_null_fct_buyback_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2937868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_buyer.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_buyer"], "alias": "not_null_fct_buyback_base_mainnet_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.2955396, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_snx.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_snx"], "alias": "not_null_fct_buyback_base_mainnet_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.297135, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.298737, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_usd.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_usd"], "alias": "not_null_fct_buyback_base_mainnet_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3026414, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3042927, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_mainnet_snx_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_mainnet_snx_price.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "not_null_fct_buyback_base_mainnet_snx_price"], "alias": "not_null_fct_buyback_base_mainnet_snx_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.308284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/not_null_fct_buyback_base_mainnet_snx_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\nwhere snx_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql", "original_file_path": "models/marts/base/mainnet/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "fqn": ["synthetix", "marts", "base", "mainnet", "buyback", "dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0"], "alias": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a"}, "created_at": 1723584322.3099258, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a\") }}", "language": "sql", "refs": [{"name": "fct_buyback_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/buyback/schema.yml/dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_buyback_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_mainnet", "attached_node": "model.synthetix.fct_buyback_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_ts"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3329825, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_block_number"], "alias": "not_null_fct_core_vault_collateral_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": 1723584322.3347144, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_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.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_contract_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_contract_address"], "alias": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da"}, "created_at": 1723584322.336364, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract_address\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere contract_address is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract_address", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract_address", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_pool_id"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.337962, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6"}, "created_at": 1723584322.339609, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_collateral_type"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.344209, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collateral_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_amount"], "alias": "not_null_fct_core_vault_collateral_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3458064, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collateral_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e"}, "created_at": 1723584322.3474345, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_vault_collateral_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_vault_collateral_base_mainnet_collateral_value"], "alias": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5"}, "created_at": 1723584322.3515995, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe"}, "created_at": 1723584322.3532252, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe\") }}", "language": "sql", "refs": [{"name": "fct_core_vault_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_vault_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_vault_collateral_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_vault_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_vault_collateral_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_vault_collateral_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_ts"], "alias": "not_null_fct_pool_rewards_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.357396, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3590412, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493"}, "created_at": 1723584322.3606699, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.364839, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_distributor.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3664703, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_token_symbol.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_base_mainnet_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": 1723584322.368096, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\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": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_base_mainnet_amount"], "alias": "not_null_fct_pool_rewards_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.36982, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400"}, "created_at": 1723584322.3714545, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_ts"], "alias": "not_null_fct_core_account_delegation_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3754945, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_account_id"], "alias": "not_null_fct_core_account_delegation_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3772752, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_pool_id"], "alias": "not_null_fct_core_account_delegation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.378884, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_delegation_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412"}, "created_at": 1723584322.3805325, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_collateral_type"], "alias": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce"}, "created_at": 1723584322.3846903, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_mainnet_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_account_delegation_base_mainnet_amount_delegated"], "alias": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f"}, "created_at": 1723584322.3863297, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268"}, "created_at": 1723584322.3879557, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_account_delegation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_account_delegation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_ts"], "alias": "not_null_fct_core_apr_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3921406, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_pool_id"], "alias": "not_null_fct_core_apr_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3937898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a"}, "created_at": 1723584322.3954577, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_collateral_type"], "alias": "not_null_fct_core_apr_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.3996284, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_collateral_value.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_collateral_value"], "alias": "not_null_fct_core_apr_base_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4012587, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39"}, "created_at": 1723584322.4028695, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_debt.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_debt"], "alias": "not_null_fct_core_apr_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.407051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_issuance"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.408697, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_pnl"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4105163, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_cumulative_pnl"], "alias": "not_null_fct_core_apr_base_mainnet_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.412163, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_cumulative_issuance"], "alias": "not_null_fct_core_apr_base_mainnet_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4137385, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_rewards_usd"], "alias": "not_null_fct_core_apr_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.415338, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739"}, "created_at": 1723584322.4169366, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4210668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_base_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4226813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b"}, "created_at": 1723584322.4248378, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apr_24h.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apr_24h"], "alias": "not_null_fct_core_apr_base_mainnet_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.428818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apy_24h.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apy_24h"], "alias": "not_null_fct_core_apr_base_mainnet_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4304202, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apr_7d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apr_7d"], "alias": "not_null_fct_core_apr_base_mainnet_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4321754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apy_7d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apy_7d"], "alias": "not_null_fct_core_apr_base_mainnet_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4337428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apr_28d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apr_28d"], "alias": "not_null_fct_core_apr_base_mainnet_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4353588, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_mainnet_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_mainnet_apy_28d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_apr_base_mainnet_apy_28d"], "alias": "not_null_fct_core_apr_base_mainnet_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4369543, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_apr_base_mainnet_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_apr_base_mainnet\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_base_mainnet", "attached_node": "model.synthetix.fct_core_apr_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_id"], "alias": "not_null_fct_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": 1723584322.43864, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_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.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "unique_fct_core_market_updated_base_mainnet_id"], "alias": "unique_fct_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": 1723584322.4402475, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/unique_fct_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_base_mainnet\".\"fct_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.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_ts"], "alias": "not_null_fct_core_market_updated_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4418323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_transaction_hash"], "alias": "not_null_fct_core_market_updated_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4434388, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_event_name.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_event_name"], "alias": "not_null_fct_core_market_updated_base_mainnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.44502, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d"}, "created_at": 1723584322.4467049, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_market_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_market_id"], "alias": "not_null_fct_core_market_updated_base_mainnet_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.450683, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4"}, "created_at": 1723584322.4524996, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_collateral_type"], "alias": "not_null_fct_core_market_updated_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4564826, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_credit_capacity"], "alias": "not_null_fct_core_market_updated_base_mainnet_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4581084, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_net_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_net_issuance"], "alias": "not_null_fct_core_market_updated_base_mainnet_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4599264, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_mainnet_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_mainnet_token_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_market_updated_base_mainnet_token_amount"], "alias": "not_null_fct_core_market_updated_base_mainnet_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.461523, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_market_updated_base_mainnet_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_market_updated_base_mainnet\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_base_mainnet", "attached_node": "model.synthetix.fct_core_market_updated_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_collateral_base_mainnet_ts"], "alias": "not_null_fct_core_pool_collateral_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4631798, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_collateral_base_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_collateral_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4647863, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited"], "alias": "not_null_fct_core_pool_collateral_base_mainnet_amount_deposited", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.466466, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_collateral_base_mainnet\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_collateral_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_delegation_base_mainnet_ts"], "alias": "not_null_fct_core_pool_delegation_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.468093, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_delegation_base_mainnet_pool_id"], "alias": "not_null_fct_core_pool_delegation_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4696918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71"}, "created_at": 1723584322.471304, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pool_delegation_base_mainnet_collateral_type"], "alias": "not_null_fct_core_pool_delegation_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4756553, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pool_delegation_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pool_delegation_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_base_mainnet", "attached_node": "model.synthetix.fct_core_pool_delegation_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_id"], "alias": "not_null_fct_core_pools_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": 1723584322.4772751, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_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.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3"}, "created_at": 1723584322.4788907, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_created_ts"], "alias": "not_null_fct_core_pools_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4831355, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_block_number"], "alias": "not_null_fct_core_pools_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": 1723584322.484777, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_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.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_mainnet_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_mainnet_owner.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_core_pools_base_mainnet_owner"], "alias": "not_null_fct_core_pools_base_mainnet_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.48645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_core_pools_base_mainnet_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_core_pools_base_mainnet\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_base_mainnet", "attached_node": "model.synthetix.fct_core_pools_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_ts"], "alias": "not_null_fct_pool_debt_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4882324, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_block_number"], "alias": "not_null_fct_pool_debt_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": 1723584322.4898705, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_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.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_pool_id"], "alias": "not_null_fct_pool_debt_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4915185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0"}, "created_at": 1723584322.493197, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_debt_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4974208, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_mainnet_debt.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_debt_base_mainnet_debt"], "alias": "not_null_fct_pool_debt_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.4990592, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_debt_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_base_mainnet", "attached_node": "model.synthetix.fct_pool_debt_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.500675, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5023916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3"}, "created_at": 1723584322.5040703, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.508123, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5101864, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_ts"], "alias": "not_null_fct_pool_issuance_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.511824, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_block_number"], "alias": "not_null_fct_pool_issuance_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": 1723584322.5134327, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_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.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_transaction_hash"], "alias": "not_null_fct_pool_issuance_base_mainnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.51501, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_pool_id"], "alias": "not_null_fct_pool_issuance_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5167184, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894"}, "created_at": 1723584322.518324, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_issuance_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5223513, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_account_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_account_id"], "alias": "not_null_fct_pool_issuance_base_mainnet_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5241377, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_issuance_base_mainnet_amount"], "alias": "not_null_fct_pool_issuance_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.525732, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_issuance_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_base_mainnet", "attached_node": "model.synthetix.fct_pool_issuance_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.527344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5289242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9"}, "created_at": 1723584322.5305996, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5345845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5362113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898"}, "created_at": 1723584322.5379748, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_debt"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5419655, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5437758, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.545372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5469668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2"}, "created_at": 1723584322.5486014, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5527496, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5543954, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf"}, "created_at": 1723584322.5560439, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5601695, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_pnl_hourly_base_mainnet\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5618103, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5634732, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495"}, "created_at": 1723584322.5652363, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5692832, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.570923, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842"}, "created_at": 1723584322.5727444, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5767658, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5785432, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31"}, "created_at": 1723584322.5801914, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6"}, "created_at": 1723584322.5842073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5859964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073"}, "created_at": 1723584322.5876405, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\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": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_price"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.5892375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1"}, "created_at": 1723584322.5908346, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1"}, "created_at": 1723584322.595125, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26"}, "created_at": 1723584322.5967507, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46"}, "created_at": 1723584322.6008945, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b"}, "created_at": 1723584322.6025012, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd"], "alias": "not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6066155, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql", "original_file_path": "models/marts/base/mainnet/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "fqn": ["synthetix", "marts", "base", "mainnet", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c"}, "created_at": 1723584322.6082542, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/core/schema.yml/dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_mainnet", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_ts"], "alias": "not_null_fct_synth_supply_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6327448, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_block_number"], "alias": "not_null_fct_synth_supply_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": 1723584322.634534, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_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.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_synth_market_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_synth_market_id"], "alias": "not_null_fct_synth_supply_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.636173, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137"}, "created_at": 1723584322.6377764, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_mainnet_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_mainnet_supply.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_synth_supply_base_mainnet_supply"], "alias": "not_null_fct_synth_supply_base_mainnet_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6419237, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_synth_supply_base_mainnet_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_synth_supply_base_mainnet\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_base_mainnet", "attached_node": "model.synthetix.fct_synth_supply_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_id"], "alias": "not_null_fct_spot_atomics_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": 1723584322.6435623, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_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.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "unique_fct_spot_atomics_base_mainnet_id"], "alias": "unique_fct_spot_atomics_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": 1723584322.645171, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_atomics_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_base_mainnet\".\"fct_spot_atomics_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.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_ts"], "alias": "not_null_fct_spot_atomics_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6467698, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_block_number"], "alias": "not_null_fct_spot_atomics_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": 1723584322.6484852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_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.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_tx_hash.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_tx_hash"], "alias": "not_null_fct_spot_atomics_base_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.650063, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_synth_market_id"], "alias": "not_null_fct_spot_atomics_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6516721, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db"}, "created_at": 1723584322.6532698, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_price"], "alias": "not_null_fct_spot_atomics_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6574135, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_amount.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_amount"], "alias": "not_null_fct_spot_atomics_base_mainnet_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6590278, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_mainnet_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_mainnet_referrer.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_atomics_base_mainnet_referrer"], "alias": "not_null_fct_spot_atomics_base_mainnet_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6607587, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_atomics_base_mainnet_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_atomics_base_mainnet\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_base_mainnet", "attached_node": "model.synthetix.fct_spot_atomics_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_id"], "alias": "not_null_fct_spot_markets_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": 1723584322.6624904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_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.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769"}, "created_at": 1723584322.6641083, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_created_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_created_ts"], "alias": "not_null_fct_spot_markets_base_mainnet_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.668151, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_block_number"], "alias": "not_null_fct_spot_markets_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": 1723584322.6703115, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_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.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_mainnet_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_mainnet_token_address.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_markets_base_mainnet_token_address"], "alias": "not_null_fct_spot_markets_base_mainnet_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": 1723584322.6718953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_markets_base_mainnet_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_markets_base_mainnet\"\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": "models.fct_spot_markets_base_mainnet", "attached_node": "model.synthetix.fct_spot_markets_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_id"], "alias": "not_null_fct_spot_wrapper_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": 1723584322.673461, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_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.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_base_mainnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_base_mainnet_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "unique_fct_spot_wrapper_base_mainnet_id"], "alias": "unique_fct_spot_wrapper_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": 1723584322.6750233, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/unique_fct_spot_wrapper_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_base_mainnet\".\"fct_spot_wrapper_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.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_ts"], "alias": "not_null_fct_spot_wrapper_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.676755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_block_number.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_block_number"], "alias": "not_null_fct_spot_wrapper_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": 1723584322.6783185, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_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.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_tx_hash"], "alias": "not_null_fct_spot_wrapper_base_mainnet_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6799114, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_synth_market_id"], "alias": "not_null_fct_spot_wrapper_base_mainnet_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.681464, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d"}, "created_at": 1723584322.6830409, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql", "original_file_path": "models/marts/base/mainnet/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "fqn": ["synthetix", "marts", "base", "mainnet", "spot", "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_base_mainnet_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6871552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/spot/schema.yml/not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_spot_wrapper_base_mainnet\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_base_mainnet", "attached_node": "model.synthetix.fct_spot_wrapper_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_base_mainnet_ts"], "alias": "not_null_fct_prices_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6907778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_base_mainnet_market_symbol"], "alias": "not_null_fct_prices_base_mainnet_market_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": 1723584322.6927102, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_base_mainnet_price"], "alias": "not_null_fct_prices_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6943235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.6959462, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_mainnet", "attached_node": "model.synthetix.fct_prices_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_mainnet_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_mainnet_ts.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_hourly_base_mainnet_ts"], "alias": "not_null_fct_prices_hourly_base_mainnet_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.699848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_mainnet_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_mainnet_market_symbol.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_hourly_base_mainnet_market_symbol"], "alias": "not_null_fct_prices_hourly_base_mainnet_market_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": 1723584322.7014508, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_mainnet_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_mainnet_price.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "not_null_fct_prices_hourly_base_mainnet_price"], "alias": "not_null_fct_prices_hourly_base_mainnet_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7030382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/not_null_fct_prices_hourly_base_mainnet_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql", "original_file_path": "models/marts/base/mainnet/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "fqn": ["synthetix", "marts", "base", "mainnet", "prices", "dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10"}, "created_at": 1723584322.7046602, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_mainnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_mainnet"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/mainnet/prices/schema.yml/dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_mainnet", "attached_node": "model.synthetix.fct_prices_hourly_base_mainnet", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_mainnet')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_id"], "alias": "not_null_fct_perp_interest_charged_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": 1723584322.7261686, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_interest_charged_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_interest_charged_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_interest_charged_base_sepolia_id"], "alias": "unique_fct_perp_interest_charged_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": 1723584322.7278228, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_interest_charged_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_base_sepolia\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.729447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_block_number"], "alias": "not_null_fct_perp_interest_charged_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": 1723584322.7311056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_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.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07"}, "created_at": 1723584322.7328699, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_contract"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7344537, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_event_name.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_event_name"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7360742, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged"], "alias": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f"}, "created_at": 1723584322.7376986, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'InterestCharged'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["InterestCharged"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_account_id"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7419004, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58"}, "created_at": 1723584322.7436028, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_interest_charged_base_sepolia_interest", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_interest_charged_base_sepolia_interest.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_interest_charged_base_sepolia_interest"], "alias": "not_null_fct_perp_interest_charged_base_sepolia_interest", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.7477634, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_interest_charged_base_sepolia_interest.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\nwhere interest is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0"], "alias": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff"}, "created_at": 1723584322.7493837, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff\") }}", "language": "sql", "refs": [{"name": "fct_perp_interest_charged_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_interest_charged_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_interest_charged_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not interest >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest", "file_key_name": "models.fct_perp_interest_charged_base_sepolia", "attached_node": "model.synthetix.fct_perp_interest_charged_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "interest", "model": "{{ get_where_subquery(ref('fct_perp_interest_charged_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_id"], "alias": "not_null_fct_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": 1723584322.7539744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_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.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_collateral_modified_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_collateral_modified_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_collateral_modified_base_sepolia_id"], "alias": "unique_fct_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": 1723584322.7555985, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_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_base_sepolia\".\"fct_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.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp"], "alias": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad"}, "created_at": 1723584322.7571924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_block_number"], "alias": "not_null_fct_perp_collateral_modified_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": 1723584322.758754, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_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.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020"}, "created_at": 1723584322.8372314, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_contract"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8389745, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_event_name"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8407416, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified"], "alias": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf"}, "created_at": 1723584322.842489, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'CollateralModified'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["CollateralModified"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id"], "alias": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535"}, "created_at": 1723584322.8467681, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7"}, "created_at": 1723584322.8486176, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7\") }}", "language": "sql", "refs": [{"name": "fct_perp_collateral_modified_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_collateral_modified_base_sepolia_sender", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_collateral_modified_base_sepolia_sender.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_collateral_modified_base_sepolia_sender"], "alias": "not_null_fct_perp_collateral_modified_base_sepolia_sender", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8527455, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_collateral_modified_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_collateral_modified_base_sepolia_sender.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect sender\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_collateral_modified_base_sepolia\"\nwhere sender is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "sender", "file_key_name": "models.fct_perp_collateral_modified_base_sepolia", "attached_node": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "sender", "model": "{{ get_where_subquery(ref('fct_perp_collateral_modified_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_id"], "alias": "not_null_fct_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": 1723584322.8543746, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_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.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_previous_order_expired_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_previous_order_expired_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_previous_order_expired_base_sepolia_id"], "alias": "unique_fct_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": 1723584322.8562102, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_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_base_sepolia\".\"fct_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.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp"], "alias": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7"}, "created_at": 1723584322.8578205, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere block_timestamp is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "block_timestamp", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_block_number"], "alias": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022"}, "created_at": 1723584322.8594494, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_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.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08"}, "created_at": 1723584322.861061, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_contract"], "alias": "not_null_fct_perp_previous_order_expired_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8627625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_event_name"], "alias": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef"}, "created_at": 1723584322.864459, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired"], "alias": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1"}, "created_at": 1723584322.8660662, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'PreviousOrderExpired'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["PreviousOrderExpired"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_market_id"], "alias": "not_null_fct_perp_previous_order_expired_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8702352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_order_expired_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca"}, "created_at": 1723584322.8719208, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_previous_order_expired_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_previous_order_expired_base_sepolia_account_id"], "alias": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc"}, "created_at": 1723584322.8761818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc\") }}", "language": "sql", "refs": [{"name": "fct_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.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906"}, "created_at": 1723584322.8778253, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906\") }}", "language": "sql", "refs": [{"name": "fct_perp_previous_order_expired_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_previous_order_expired_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_previous_order_expired_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not account_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_previous_order_expired_base_sepolia", "attached_node": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_previous_order_expired_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_id"], "alias": "not_null_fct_perp_trades_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": 1723584322.8820195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_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.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_trades_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_trades_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_trades_base_sepolia_id"], "alias": "unique_fct_perp_trades_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": 1723584322.8836706, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_trades_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_base_sepolia\".\"fct_perp_trades_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.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_ts"], "alias": "not_null_fct_perp_trades_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8853526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_block_number"], "alias": "not_null_fct_perp_trades_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": 1723584322.8869512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_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.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_trades_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8887134, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_contract"], "alias": "not_null_fct_perp_trades_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.890313, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_market_id"], "alias": "not_null_fct_perp_trades_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8919246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d"}, "created_at": 1723584322.89354, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_trades_base_sepolia_market_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": 1723584322.8977187, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_account_id"], "alias": "not_null_fct_perp_trades_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.8993895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_fill_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_fill_price.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_fill_price"], "alias": "not_null_fct_perp_trades_base_sepolia_fill_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9010174, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_fill_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect fill_price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere fill_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95"}, "created_at": 1723584322.9027712, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not fill_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "fill_price", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "fill_price", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_pnl.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_pnl"], "alias": "not_null_fct_perp_trades_base_sepolia_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9068174, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pnl", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pnl", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_accrued_funding", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_accrued_funding.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_accrued_funding"], "alias": "not_null_fct_perp_trades_base_sepolia_accrued_funding", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.908621, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_accrued_funding.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect accrued_funding\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere accrued_funding is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "accrued_funding", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "accrued_funding", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_trade_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_trade_size"], "alias": "not_null_fct_perp_trades_base_sepolia_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9102552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect trade_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "trade_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_position_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_position_size"], "alias": "not_null_fct_perp_trades_base_sepolia_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9118762, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_total_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_total_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_total_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_total_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.913476, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_total_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere total_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b"}, "created_at": 1723584322.9150891, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_referral_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_referral_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_referral_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_referral_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9195614, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_referral_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referral_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere referral_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c"}, "created_at": 1723584322.921208, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not referral_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referral_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "referral_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_collected_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_collected_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_collected_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_collected_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9253662, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_collected_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collected_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere collected_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0"}, "created_at": 1723584322.9269903, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collected_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collected_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collected_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_settlement_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_settlement_reward.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_settlement_reward"], "alias": "not_null_fct_perp_trades_base_sepolia_settlement_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.931167, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settlement_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settlement_reward\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere settlement_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c"}, "created_at": 1723584322.9328098, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not settlement_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settlement_reward", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "settlement_reward", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_tracking_code", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_tracking_code.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_tracking_code"], "alias": "not_null_fct_perp_trades_base_sepolia_tracking_code", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9370081, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_tracking_code.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tracking_code\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere tracking_code is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tracking_code", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tracking_code", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_settler", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_settler.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_settler"], "alias": "not_null_fct_perp_trades_base_sepolia_settler", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9386263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_settler.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect settler\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere settler is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "settler", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "settler", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_notional_trade_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_notional_trade_size"], "alias": "not_null_fct_perp_trades_base_sepolia_notional_trade_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.940262, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_trade_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_trade_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere notional_trade_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_trade_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_trade_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_notional_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_notional_position_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_notional_position_size"], "alias": "not_null_fct_perp_trades_base_sepolia_notional_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.941868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_notional_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect notional_position_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere notional_position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "notional_position_size", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "notional_position_size", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_lp_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_lp_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_lp_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_lp_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.943622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_lp_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect lp_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere lp_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "warn", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {"severity": "warn", "alias": "dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a"}, "created_at": 1723584322.9452653, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_12db1ba69fe6608ea2ebf00ec7dcb95a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not lp_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "lp_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "lp_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_trades_base_sepolia_exchange_fees", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_trades_base_sepolia_exchange_fees.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_trades_base_sepolia_exchange_fees"], "alias": "not_null_fct_perp_trades_base_sepolia_exchange_fees", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9495935, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_trades_base_sepolia_exchange_fees.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect exchange_fees\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\nwhere exchange_fees is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c"}, "created_at": 1723584322.951284, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c\") }}", "language": "sql", "refs": [{"name": "fct_perp_trades_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_trades_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not exchange_fees >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "exchange_fees", "file_key_name": "models.fct_perp_trades_base_sepolia", "attached_node": "model.synthetix.fct_perp_trades_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "exchange_fees", "model": "{{ get_where_subquery(ref('fct_perp_trades_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_pnl_base_sepolia_ts"], "alias": "not_null_fct_perp_pnl_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9553103, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_pnl_base_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_pnl_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_pnl_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_pnl_base_sepolia_market_id"], "alias": "not_null_fct_perp_pnl_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9571183, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_pnl_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d"}, "created_at": 1723584322.9587343, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d\") }}", "language": "sql", "refs": [{"name": "fct_perp_pnl_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_pnl_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_pnl_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_pnl_base_sepolia", "attached_node": "model.synthetix.fct_perp_pnl_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_pnl_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_id"], "alias": "not_null_fct_perp_orders_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": 1723584322.962897, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_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.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_orders_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_orders_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_orders_base_sepolia_id"], "alias": "unique_fct_perp_orders_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": 1723584322.964552, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_orders_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_base_sepolia\".\"fct_perp_orders_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.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_ts"], "alias": "not_null_fct_perp_orders_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9661593, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_block_number"], "alias": "not_null_fct_perp_orders_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": 1723584322.9678092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_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.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_orders_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.969422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_contract.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_contract"], "alias": "not_null_fct_perp_orders_base_sepolia_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9711235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere contract is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "contract", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_market_id"], "alias": "not_null_fct_perp_orders_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9727323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445"}, "created_at": 1723584322.9743452, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445\") }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_orders_base_sepolia_market_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": 1723584322.9785848, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_orders_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_orders_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_orders_base_sepolia_account_id"], "alias": "not_null_fct_perp_orders_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9802337, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_orders_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_orders_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_orders_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_orders_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_orders_base_sepolia", "attached_node": "model.synthetix.fct_perp_orders_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_orders_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_id"], "alias": "not_null_fct_perp_markets_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": 1723584322.9818325, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_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.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549"}, "created_at": 1723584322.9834416, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549\") }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_created_ts"], "alias": "not_null_fct_perp_markets_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9876003, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_block_number"], "alias": "not_null_fct_perp_markets_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": 1723584322.9892247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_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.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_markets_base_sepolia_market_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": 1723584322.9909475, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_markets_base_sepolia_market_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_markets_base_sepolia_market_name.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_markets_base_sepolia_market_name"], "alias": "not_null_fct_perp_markets_base_sepolia_market_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.9925697, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_markets_base_sepolia_market_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\nwhere market_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_name", "file_key_name": "models.fct_perp_markets_base_sepolia", "attached_node": "model.synthetix.fct_perp_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_name", "model": "{{ get_where_subquery(ref('fct_perp_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_id"], "alias": "not_null_fct_perp_market_history_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": 1723584322.9941752, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_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.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_market_history_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_market_history_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_market_history_base_sepolia_id"], "alias": "unique_fct_perp_market_history_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": 1723584322.995801, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_market_history_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_base_sepolia\".\"fct_perp_market_history_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.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_ts"], "alias": "not_null_fct_perp_market_history_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584322.997458, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_block_number"], "alias": "not_null_fct_perp_market_history_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": 1723584322.9996667, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_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.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_market_history_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0012734, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_market_id"], "alias": "not_null_fct_perp_market_history_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0028503, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f"}, "created_at": 1723584323.0045125, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f\") }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_market_history_base_sepolia_market_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": 1723584323.0086706, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_price"], "alias": "not_null_fct_perp_market_history_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0102732, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_skew", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_skew.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_skew"], "alias": "not_null_fct_perp_market_history_base_sepolia_skew", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0118718, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_skew.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect skew\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere skew is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "skew", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "skew", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_size"], "alias": "not_null_fct_perp_market_history_base_sepolia_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0136087, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_size_delta", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_size_delta.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_size_delta"], "alias": "not_null_fct_perp_market_history_base_sepolia_size_delta", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0152352, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_delta.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_delta\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere size_delta is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_delta", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_delta", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_funding_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_funding_rate.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_funding_rate"], "alias": "not_null_fct_perp_market_history_base_sepolia_funding_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.016845, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere funding_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_funding_velocity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_funding_velocity"], "alias": "not_null_fct_perp_market_history_base_sepolia_funding_velocity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0184445, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_velocity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_velocity\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere funding_velocity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_velocity", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_velocity", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_interest_rate", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_interest_rate.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_interest_rate"], "alias": "not_null_fct_perp_market_history_base_sepolia_interest_rate", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0201895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_interest_rate.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect interest_rate\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere interest_rate is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "interest_rate", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "interest_rate", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr"], "alias": "not_null_fct_perp_market_history_base_sepolia_funding_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0218349, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect funding_rate_apr\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere funding_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "funding_rate_apr", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "funding_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_long_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_long_rate_apr"], "alias": "not_null_fct_perp_market_history_base_sepolia_long_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0234733, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_long_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect long_rate_apr\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere long_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "long_rate_apr", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "long_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_short_rate_apr", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_short_rate_apr"], "alias": "not_null_fct_perp_market_history_base_sepolia_short_rate_apr", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0251296, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_short_rate_apr.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect short_rate_apr\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere short_rate_apr is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "short_rate_apr", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "short_rate_apr", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_market_history_base_sepolia_size_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_market_history_base_sepolia_size_usd.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_market_history_base_sepolia_size_usd"], "alias": "not_null_fct_perp_market_history_base_sepolia_size_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0267107, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_market_history_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_market_history_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_market_history_base_sepolia_size_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect size_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_market_history_base_sepolia\"\nwhere size_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "size_usd", "file_key_name": "models.fct_perp_market_history_base_sepolia", "attached_node": "model.synthetix.fct_perp_market_history_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "size_usd", "model": "{{ get_where_subquery(ref('fct_perp_market_history_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_id"], "alias": "not_null_fct_perp_liq_position_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": 1723584323.0284646, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_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.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_liq_position_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_liq_position_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_liq_position_base_sepolia_id"], "alias": "unique_fct_perp_liq_position_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": 1723584323.0300813, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_liq_position_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_base_sepolia\".\"fct_perp_liq_position_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.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_ts"], "alias": "not_null_fct_perp_liq_position_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0317104, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_block_number"], "alias": "not_null_fct_perp_liq_position_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": 1723584323.0333276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_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.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_transaction_hash"], "alias": "not_null_fct_perp_liq_position_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0350258, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_account_id"], "alias": "not_null_fct_perp_liq_position_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.036651, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_market_id"], "alias": "not_null_fct_perp_liq_position_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0382314, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0"}, "created_at": 1723584323.039856, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_market_symbol"], "alias": "not_null_fct_perp_liq_position_base_sepolia_market_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": 1723584323.044198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated"], "alias": "not_null_fct_perp_liq_position_base_sepolia_amount_liquidated", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0458348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_liquidated\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere amount_liquidated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0"], "alias": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad"}, "created_at": 1723584323.0474799, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_liquidated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_liquidated", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_liquidated", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_position_base_sepolia_position_size", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_position_base_sepolia_position_size.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_position_base_sepolia_position_size"], "alias": "not_null_fct_perp_liq_position_base_sepolia_position_size", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0517662, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_position_base_sepolia_position_size.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect position_size\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\nwhere position_size is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0"], "alias": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4"}, "created_at": 1723584323.0534225, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_position_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_position_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_position_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not position_size >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "position_size", "file_key_name": "models.fct_perp_liq_position_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_position_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "position_size", "model": "{{ get_where_subquery(ref('fct_perp_liq_position_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_account_base_sepolia_account_id"], "alias": "not_null_fct_perp_liq_account_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0576665, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_account_base_sepolia_ts"], "alias": "not_null_fct_perp_liq_account_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0593092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_liq_account_base_sepolia_total_reward", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_liq_account_base_sepolia_total_reward.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_liq_account_base_sepolia_total_reward"], "alias": "not_null_fct_perp_liq_account_base_sepolia_total_reward", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.060918, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_liq_account_base_sepolia_total_reward.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect total_reward\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\nwhere total_reward is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676"}, "created_at": 1723584323.0626678, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676\") }}", "language": "sql", "refs": [{"name": "fct_perp_liq_account_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_liq_account_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_perp_liq_account_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not total_reward >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "total_reward", "file_key_name": "models.fct_perp_liq_account_base_sepolia", "attached_node": "model.synthetix.fct_perp_liq_account_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "total_reward", "model": "{{ get_where_subquery(ref('fct_perp_liq_account_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_accounts_base_sepolia_id"], "alias": "not_null_fct_perp_accounts_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": 1723584323.0667422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_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.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_perp_accounts_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_perp_accounts_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "unique_fct_perp_accounts_base_sepolia_id"], "alias": "unique_fct_perp_accounts_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": 1723584323.068403, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/unique_fct_perp_accounts_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_base_sepolia\".\"fct_perp_accounts_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.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_accounts_base_sepolia_created_ts"], "alias": "not_null_fct_perp_accounts_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0702055, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_perp_accounts_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_perp_accounts_base_sepolia_owner.sql", "original_file_path": "models/marts/base/sepolia/perp/schema.yml", "unique_id": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "fqn": ["synthetix", "marts", "base", "sepolia", "perp", "not_null_fct_perp_accounts_base_sepolia_owner"], "alias": "not_null_fct_perp_accounts_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0718331, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_perp_accounts_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_perp_accounts_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/perp/schema.yml/not_null_fct_perp_accounts_base_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_perp_accounts_base_sepolia", "attached_node": "model.synthetix.fct_perp_accounts_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_perp_accounts_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_ts"], "alias": "not_null_fct_buyback_daily_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.077375, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_snx_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0790365, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077"}, "created_at": 1723584323.0809226, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_usd_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0851, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9"}, "created_at": 1723584323.0868068, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.0916417, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba"}, "created_at": 1723584323.0932524, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount"], "alias": "not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.097439, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906"}, "created_at": 1723584323.0991335, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906\") }}", "language": "sql", "refs": [{"name": "fct_buyback_daily_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_daily_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_daily_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_daily_base_sepolia", "attached_node": "model.synthetix.fct_buyback_daily_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_daily_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_ts"], "alias": "not_null_fct_buyback_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1033337, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1049879, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989"}, "created_at": 1723584323.1066155, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1107662, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01"}, "created_at": 1723584323.1124244, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1166346, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_snx_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere cumulative_snx_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5"}, "created_at": 1723584323.1182654, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_snx_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_snx_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_snx_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount"], "alias": "not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.12242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_usd_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\nwhere cumulative_usd_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa"}, "created_at": 1723584323.124066, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa\") }}", "language": "sql", "refs": [{"name": "fct_buyback_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not cumulative_usd_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_usd_amount", "file_key_name": "models.fct_buyback_hourly_base_sepolia", "attached_node": "model.synthetix.fct_buyback_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "cumulative_usd_amount", "model": "{{ get_where_subquery(ref('fct_buyback_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_id"], "alias": "not_null_fct_buyback_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": 1723584323.128253, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_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.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_buyback_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_buyback_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "unique_fct_buyback_base_sepolia_id"], "alias": "unique_fct_buyback_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": 1723584323.1298723, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/unique_fct_buyback_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_base_sepolia\".\"fct_buyback_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.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_ts"], "alias": "not_null_fct_buyback_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1314976, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_buyer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_buyer.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_buyer"], "alias": "not_null_fct_buyback_base_sepolia_buyer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1330888, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_buyer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect buyer\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere buyer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "buyer", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "buyer", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_snx", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_snx.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_snx"], "alias": "not_null_fct_buyback_base_sepolia_snx", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.134778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere snx is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.13641, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_usd.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_usd"], "alias": "not_null_fct_buyback_base_sepolia_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1403737, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1420062, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "usd", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "usd", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_buyback_base_sepolia_snx_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_buyback_base_sepolia_snx_price.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "not_null_fct_buyback_base_sepolia_snx_price"], "alias": "not_null_fct_buyback_base_sepolia_snx_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.145805, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/not_null_fct_buyback_base_sepolia_snx_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect snx_price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\nwhere snx_price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql", "original_file_path": "models/marts/base/sepolia/buyback/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "fqn": ["synthetix", "marts", "base", "sepolia", "buyback", "dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0"], "alias": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4"}, "created_at": 1723584323.1475873, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4\") }}", "language": "sql", "refs": [{"name": "fct_buyback_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_buyback_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/buyback/schema.yml/dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_buyback_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not snx_price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "snx_price", "file_key_name": "models.fct_buyback_base_sepolia", "attached_node": "model.synthetix.fct_buyback_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "snx_price", "model": "{{ get_where_subquery(ref('fct_buyback_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_ts"], "alias": "not_null_fct_pool_rewards_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1697316, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1714003, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80"}, "created_at": 1723584323.1730256, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.177176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_distributor.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.178776, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_token_symbol.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_base_sepolia_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": 1723584323.1805522, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_token_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\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": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_base_sepolia_amount.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_base_sepolia_amount"], "alias": "not_null_fct_pool_rewards_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1821387, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19"}, "created_at": 1723584323.1837566, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_rewards_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_ts"], "alias": "not_null_fct_core_account_delegation_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.187919, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_account_id"], "alias": "not_null_fct_core_account_delegation_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1895504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_delegation_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_pool_id"], "alias": "not_null_fct_core_account_delegation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.1912012, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_delegation_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a"}, "created_at": 1723584323.1928124, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_collateral_type"], "alias": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b"}, "created_at": 1723584323.1969323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_account_delegation_base_sepolia_amount_delegated", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_account_delegation_base_sepolia_amount_delegated"], "alias": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4"}, "created_at": 1723584323.1985295, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_delegated\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\nwhere amount_delegated is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0"], "alias": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2"}, "created_at": 1723584323.2001433, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2\") }}", "language": "sql", "refs": [{"name": "fct_core_account_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_account_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_account_delegation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_delegated >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_delegated", "file_key_name": "models.fct_core_account_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_account_delegation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_delegated", "model": "{{ get_where_subquery(ref('fct_core_account_delegation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_ts"], "alias": "not_null_fct_core_apr_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2043073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_pool_id"], "alias": "not_null_fct_core_apr_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2059016, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7"}, "created_at": 1723584323.2076757, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_collateral_type"], "alias": "not_null_fct_core_apr_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2117345, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_collateral_value.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_collateral_value"], "alias": "not_null_fct_core_apr_base_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2133594, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e"}, "created_at": 1723584323.2151701, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_debt.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_debt"], "alias": "not_null_fct_core_apr_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2191951, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_issuance"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2209496, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_pnl"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2226005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_cumulative_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_cumulative_pnl"], "alias": "not_null_fct_core_apr_base_sepolia_cumulative_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2241983, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere cumulative_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_pnl", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_pnl", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_cumulative_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_cumulative_issuance"], "alias": "not_null_fct_core_apr_base_sepolia_cumulative_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2257705, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_cumulative_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect cumulative_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere cumulative_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "cumulative_issuance", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "cumulative_issuance", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_rewards_usd"], "alias": "not_null_fct_core_apr_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.227389, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100"}, "created_at": 1723584323.229092, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2331562, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_core_apr_base_sepolia_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2349312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32"}, "created_at": 1723584323.2365794, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32\") }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apr_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apr_24h.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apr_24h"], "alias": "not_null_fct_core_apr_base_sepolia_apr_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.240584, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_24h\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apr_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_24h", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apy_24h", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apy_24h.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apy_24h"], "alias": "not_null_fct_core_apr_base_sepolia_apy_24h", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2423685, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_24h.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_24h\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apy_24h is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_24h", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_24h", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apr_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apr_7d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apr_7d"], "alias": "not_null_fct_core_apr_base_sepolia_apr_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2439919, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_7d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apr_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_7d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apy_7d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apy_7d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apy_7d"], "alias": "not_null_fct_core_apr_base_sepolia_apy_7d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2455666, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_7d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_7d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apy_7d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_7d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_7d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apr_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apr_28d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apr_28d"], "alias": "not_null_fct_core_apr_base_sepolia_apr_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2471921, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apr_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apr_28d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apr_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apr_28d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apr_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_apr_base_sepolia_apy_28d", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_apr_base_sepolia_apy_28d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_apr_base_sepolia_apy_28d"], "alias": "not_null_fct_core_apr_base_sepolia_apy_28d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2492204, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_apr_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_apr_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_apr_base_sepolia_apy_28d.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect apy_28d\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_apr_base_sepolia\"\nwhere apy_28d is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "apy_28d", "file_key_name": "models.fct_core_apr_base_sepolia", "attached_node": "model.synthetix.fct_core_apr_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "apy_28d", "model": "{{ get_where_subquery(ref('fct_core_apr_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_id"], "alias": "not_null_fct_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": 1723584323.2508223, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_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.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_core_market_updated_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_core_market_updated_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "unique_fct_core_market_updated_base_sepolia_id"], "alias": "unique_fct_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": 1723584323.2524357, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/unique_fct_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_base_sepolia\".\"fct_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.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_ts"], "alias": "not_null_fct_core_market_updated_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2540145, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_transaction_hash"], "alias": "not_null_fct_core_market_updated_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2556195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_event_name.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_event_name"], "alias": "not_null_fct_core_market_updated_base_sepolia_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2573113, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere event_name is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited"], "alias": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125"}, "created_at": 1723584323.2589145, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n event_name as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'MarketCollateralWithdrawn','MarketCollateralDeposited','MarketUsdWithdrawn','MarketUsdDeposited'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "event_name", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["MarketCollateralWithdrawn", "MarketCollateralDeposited", "MarketUsdWithdrawn", "MarketUsdDeposited"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_market_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_market_id"], "alias": "not_null_fct_core_market_updated_base_sepolia_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2631118, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958"}, "created_at": 1723584323.264741, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958\") }}", "language": "sql", "refs": [{"name": "fct_core_market_updated_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_id", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "market_id", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_collateral_type"], "alias": "not_null_fct_core_market_updated_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2689192, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_credit_capacity", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_credit_capacity"], "alias": "not_null_fct_core_market_updated_base_sepolia_credit_capacity", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2705572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_credit_capacity.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect credit_capacity\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere credit_capacity is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "credit_capacity", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "credit_capacity", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_net_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_net_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_net_issuance"], "alias": "not_null_fct_core_market_updated_base_sepolia_net_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2721796, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_net_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect net_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere net_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "net_issuance", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "net_issuance", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_market_updated_base_sepolia_token_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_market_updated_base_sepolia_token_amount.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_market_updated_base_sepolia_token_amount"], "alias": "not_null_fct_core_market_updated_base_sepolia_token_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2737336, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_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.fct_core_market_updated_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_market_updated_base_sepolia_token_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_market_updated_base_sepolia\"\nwhere token_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "token_amount", "file_key_name": "models.fct_core_market_updated_base_sepolia", "attached_node": "model.synthetix.fct_core_market_updated_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_amount", "model": "{{ get_where_subquery(ref('fct_core_market_updated_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_collateral_base_sepolia_ts"], "alias": "not_null_fct_core_pool_collateral_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2753272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_collateral_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_collateral_base_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_collateral_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.277015, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_collateral_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited"], "alias": "not_null_fct_core_pool_collateral_base_sepolia_amount_deposited", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2785985, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_collateral_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_collateral_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_deposited\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_collateral_base_sepolia\"\nwhere amount_deposited is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_deposited", "file_key_name": "models.fct_core_pool_collateral_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_collateral_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_deposited", "model": "{{ get_where_subquery(ref('fct_core_pool_collateral_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_delegation_base_sepolia_ts"], "alias": "not_null_fct_core_pool_delegation_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.280232, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_delegation_base_sepolia_pool_id"], "alias": "not_null_fct_core_pool_delegation_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2818115, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b"}, "created_at": 1723584323.2834265, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b\") }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pool_delegation_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pool_delegation_base_sepolia_collateral_type"], "alias": "not_null_fct_core_pool_delegation_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2875924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pool_delegation_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pool_delegation_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pool_delegation_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pool_delegation_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_core_pool_delegation_base_sepolia", "attached_node": "model.synthetix.fct_core_pool_delegation_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_core_pool_delegation_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_id"], "alias": "not_null_fct_core_pools_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": 1723584323.289212, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_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.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558"}, "created_at": 1723584323.290953, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558\") }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_created_ts"], "alias": "not_null_fct_core_pools_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2949467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_block_number"], "alias": "not_null_fct_core_pools_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": 1723584323.296589, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_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.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_core_pools_base_sepolia_owner", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_core_pools_base_sepolia_owner.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_core_pools_base_sepolia_owner"], "alias": "not_null_fct_core_pools_base_sepolia_owner", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.298333, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_core_pools_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_core_pools_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_core_pools_base_sepolia_owner.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect owner\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_core_pools_base_sepolia\"\nwhere owner is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "owner", "file_key_name": "models.fct_core_pools_base_sepolia", "attached_node": "model.synthetix.fct_core_pools_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "owner", "model": "{{ get_where_subquery(ref('fct_core_pools_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_ts"], "alias": "not_null_fct_pool_debt_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.2999403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_block_number"], "alias": "not_null_fct_pool_debt_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": 1723584323.3015635, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_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.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_pool_id"], "alias": "not_null_fct_pool_debt_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3031518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62"}, "created_at": 1723584323.3049443, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62\") }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_debt_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3090146, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_debt_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_debt_base_sepolia_debt.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_debt_base_sepolia_debt"], "alias": "not_null_fct_pool_debt_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3108318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_debt_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_debt_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_debt_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_debt_base_sepolia", "attached_node": "model.synthetix.fct_pool_debt_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_debt_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3124833, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.314066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f"}, "created_at": 1723584323.3157294, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.319904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3215134, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_issuance_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_issuance_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_ts"], "alias": "not_null_fct_pool_issuance_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3231091, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_block_number"], "alias": "not_null_fct_pool_issuance_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": 1723584323.324811, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_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.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_transaction_hash"], "alias": "not_null_fct_pool_issuance_base_sepolia_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3263943, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere transaction_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "transaction_hash", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_pool_id"], "alias": "not_null_fct_pool_issuance_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3280036, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca"}, "created_at": 1723584323.3296125, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca\") }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_issuance_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3339803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_account_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_account_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_account_id"], "alias": "not_null_fct_pool_issuance_base_sepolia_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3356206, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "account_id", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_issuance_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_issuance_base_sepolia_amount.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_issuance_base_sepolia_amount"], "alias": "not_null_fct_pool_issuance_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3372045, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_issuance_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_issuance_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_issuance_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_pool_issuance_base_sepolia", "attached_node": "model.synthetix.fct_pool_issuance_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_pool_issuance_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.338919, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3405309, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15"}, "created_at": 1723584323.3422272, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.346348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.348037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_value\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere collateral_value is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0"], "alias": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182"}, "created_at": 1723584323.349657, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not collateral_value >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_value", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "collateral_value", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_debt", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_debt"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_debt", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.353818, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_debt.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect debt\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere debt is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "debt", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "debt", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3554602, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_issuance\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_issuance is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_issuance", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_issuance", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.357052, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_pnl is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3587532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51"}, "created_at": 1723584323.3603861, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3644025, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_pnl_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_pnl_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_pnl_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_pnl_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3661976, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_rewards_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_rewards_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0"], "alias": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b"}, "created_at": 1723584323.3678324, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b\") }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_rewards_pct >= 0\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 hourly_rewards_pct <= 1\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_rewards_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "max_value": 1, "inclusive": true, "column_name": "hourly_rewards_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct"], "alias": "not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3719718, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_pnl_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_pnl_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_total_pct\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_pnl_hourly_base_sepolia\"\nwhere hourly_total_pct is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_total_pct", "file_key_name": "models.fct_pool_pnl_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_total_pct", "model": "{{ get_where_subquery(ref('fct_pool_pnl_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3735814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3751826, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee"}, "created_at": 1723584323.3767781, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.380894, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3825095, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c"}, "created_at": 1723584323.3841825, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.388319, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3899682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pool_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere pool_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0"], "alias": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e"}, "created_at": 1723584323.3916185, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not pool_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "pool_id", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "pool_id", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type"], "alias": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e"}, "created_at": 1723584323.395799, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect collateral_type\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere collateral_type is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "collateral_type", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "collateral_type", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.3974156, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect distributor\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere distributor is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "distributor", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "distributor", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol"], "alias": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918"}, "created_at": 1723584323.3990088, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\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": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_symbol", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_price"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4007242, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1"}, "created_at": 1723584323.4023113, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount"], "alias": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe"}, "created_at": 1723584323.4064586, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect hourly_amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere hourly_amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0"], "alias": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502"}, "created_at": 1723584323.4080853, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not hourly_amount >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "hourly_amount", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "hourly_amount", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed"], "alias": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331"}, "created_at": 1723584323.4121196, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_distributed\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere amount_distributed is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0"], "alias": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8"}, "created_at": 1723584323.414244, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not amount_distributed >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_distributed", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "amount_distributed", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd"], "alias": "not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4183393, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect rewards_usd\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\nwhere rewards_usd is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql", "original_file_path": "models/marts/base/sepolia/core/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "fqn": ["synthetix", "marts", "base", "sepolia", "core", "dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0"], "alias": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d"}, "created_at": 1723584323.4201567, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d\") }}", "language": "sql", "refs": [{"name": "fct_pool_rewards_token_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/core/schema.yml/dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not rewards_usd >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "rewards_usd", "file_key_name": "models.fct_pool_rewards_token_hourly_base_sepolia", "attached_node": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "rewards_usd", "model": "{{ get_where_subquery(ref('fct_pool_rewards_token_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_ts"], "alias": "not_null_fct_synth_supply_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4396603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_block_number"], "alias": "not_null_fct_synth_supply_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": 1723584323.4414942, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_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.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_synth_market_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_synth_market_id"], "alias": "not_null_fct_synth_supply_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4431276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7"}, "created_at": 1723584323.44474, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7\") }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_synth_supply_base_sepolia_supply", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_synth_supply_base_sepolia_supply.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_synth_supply_base_sepolia_supply"], "alias": "not_null_fct_synth_supply_base_sepolia_supply", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4488916, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_synth_supply_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_synth_supply_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_synth_supply_base_sepolia_supply.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect supply\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_synth_supply_base_sepolia\"\nwhere supply is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "supply", "file_key_name": "models.fct_synth_supply_base_sepolia", "attached_node": "model.synthetix.fct_synth_supply_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "supply", "model": "{{ get_where_subquery(ref('fct_synth_supply_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_id"], "alias": "not_null_fct_spot_atomics_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": 1723584323.450535, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_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.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_atomics_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_atomics_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "unique_fct_spot_atomics_base_sepolia_id"], "alias": "unique_fct_spot_atomics_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": 1723584323.4521847, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_atomics_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_base_sepolia\".\"fct_spot_atomics_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.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_ts"], "alias": "not_null_fct_spot_atomics_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.453788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_block_number"], "alias": "not_null_fct_spot_atomics_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": 1723584323.4555209, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_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.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_tx_hash.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_tx_hash"], "alias": "not_null_fct_spot_atomics_base_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4571438, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_synth_market_id"], "alias": "not_null_fct_spot_atomics_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4587398, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3"}, "created_at": 1723584323.4603865, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3\") }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_price"], "alias": "not_null_fct_spot_atomics_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4645233, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_amount", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_amount.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_amount"], "alias": "not_null_fct_spot_atomics_base_sepolia_amount", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.466148, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_amount.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere amount is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_atomics_base_sepolia_referrer", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_atomics_base_sepolia_referrer.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_atomics_base_sepolia_referrer"], "alias": "not_null_fct_spot_atomics_base_sepolia_referrer", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4678469, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_atomics_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_atomics_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_atomics_base_sepolia_referrer.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect referrer\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_atomics_base_sepolia\"\nwhere referrer is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "referrer", "file_key_name": "models.fct_spot_atomics_base_sepolia", "attached_node": "model.synthetix.fct_spot_atomics_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "referrer", "model": "{{ get_where_subquery(ref('fct_spot_atomics_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_id"], "alias": "not_null_fct_spot_markets_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": 1723584323.469595, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_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.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b"}, "created_at": 1723584323.4712396, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b\") }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_created_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_created_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_created_ts"], "alias": "not_null_fct_spot_markets_base_sepolia_created_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.475318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_created_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect created_ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\nwhere created_ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "created_ts", "file_key_name": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "created_ts", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_block_number"], "alias": "not_null_fct_spot_markets_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": 1723584323.4771376, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_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.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_markets_base_sepolia_token_address", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_markets_base_sepolia_token_address.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_markets_base_sepolia_token_address"], "alias": "not_null_fct_spot_markets_base_sepolia_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": 1723584323.478785, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_markets_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_markets_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_markets_base_sepolia_token_address.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect token_address\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_markets_base_sepolia\"\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": "models.fct_spot_markets_base_sepolia", "attached_node": "model.synthetix.fct_spot_markets_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "token_address", "model": "{{ get_where_subquery(ref('fct_spot_markets_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_id"], "alias": "not_null_fct_spot_wrapper_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": 1723584323.480411, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_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.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_fct_spot_wrapper_base_sepolia_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_fct_spot_wrapper_base_sepolia_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "unique_fct_spot_wrapper_base_sepolia_id"], "alias": "unique_fct_spot_wrapper_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": 1723584323.4819813, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/unique_fct_spot_wrapper_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_base_sepolia\".\"fct_spot_wrapper_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.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_ts"], "alias": "not_null_fct_spot_wrapper_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4836907, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_block_number.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_block_number"], "alias": "not_null_fct_spot_wrapper_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": 1723584323.4852655, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_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.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_tx_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_tx_hash"], "alias": "not_null_fct_spot_wrapper_base_sepolia_tx_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4868343, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_tx_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tx_hash\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere tx_hash is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "tx_hash", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "tx_hash", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_synth_market_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_synth_market_id"], "alias": "not_null_fct_spot_wrapper_base_sepolia_synth_market_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4884717, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_synth_market_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect synth_market_id\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere synth_market_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0"], "alias": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d"}, "created_at": 1723584323.4900992, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d\") }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not synth_market_id >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "synth_market_id", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "synth_market_id", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql", "original_file_path": "models/marts/base/sepolia/spot/schema.yml", "unique_id": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "fqn": ["synthetix", "marts", "base", "sepolia", "spot", "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped"], "alias": "not_null_fct_spot_wrapper_base_sepolia_amount_wrapped", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.4943504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_spot_wrapper_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_spot_wrapper_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/spot/schema.yml/not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect amount_wrapped\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_spot_wrapper_base_sepolia\"\nwhere amount_wrapped is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "amount_wrapped", "file_key_name": "models.fct_spot_wrapper_base_sepolia", "attached_node": "model.synthetix.fct_spot_wrapper_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "amount_wrapped", "model": "{{ get_where_subquery(ref('fct_spot_wrapper_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_base_sepolia_ts"], "alias": "not_null_fct_prices_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.497998, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_base_sepolia_market_symbol"], "alias": "not_null_fct_prices_base_sepolia_market_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": 1723584323.5002553, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_base_sepolia_price"], "alias": "not_null_fct_prices_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5019095, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5035236, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_base_sepolia", "attached_node": "model.synthetix.fct_prices_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_base_sepolia')) }}"}, "namespace": "dbt_utils"}}, "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_sepolia_ts", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_sepolia_ts.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_hourly_base_sepolia_ts"], "alias": "not_null_fct_prices_hourly_base_sepolia_ts", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5075462, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_ts.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ts\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\nwhere ts is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "ts", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "ts", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_sepolia_market_symbol", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_sepolia_market_symbol.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_hourly_base_sepolia_market_symbol"], "alias": "not_null_fct_prices_hourly_base_sepolia_market_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": 1723584323.5091624, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_market_symbol.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect market_symbol\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\nwhere market_symbol is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "market_symbol", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "market_symbol", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_fct_prices_hourly_base_sepolia_price", "resource_type": "test", "package_name": "synthetix", "path": "not_null_fct_prices_hourly_base_sepolia_price.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "not_null_fct_prices_hourly_base_sepolia_price"], "alias": "not_null_fct_prices_hourly_base_sepolia_price", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "unrendered_config": {}, "created_at": 1723584323.5107725, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/not_null_fct_prices_hourly_base_sepolia_price.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect price\nfrom \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\nwhere price is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": null}}, "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0", "resource_type": "test", "package_name": "synthetix", "path": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql", "original_file_path": "models/marts/base/sepolia/prices/schema.yml", "unique_id": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "fqn": ["synthetix", "marts", "base", "sepolia", "prices", "dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0"], "alias": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "ERROR", "store_failures": null, "store_failures_as": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 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": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98"}, "created_at": 1723584323.5124013, "relation_name": null, "raw_code": "{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98\") }}", "language": "sql", "refs": [{"name": "fct_prices_hourly_base_sepolia", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_accepted_range", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.fct_prices_hourly_base_sepolia"]}, "compiled_path": "target/compiled/synthetix/models/marts/base/sepolia/prices/schema.yml/dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98.sql", "compiled": true, "compiled_code": "\n\nwith meet_condition as(\n select *\n from \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\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 -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not price >= 0\n)\n\nselect *\nfrom validation_errors\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "price", "file_key_name": "models.fct_prices_hourly_base_sepolia", "attached_node": "model.synthetix.fct_prices_hourly_base_sepolia", "test_metadata": {"name": "accepted_range", "kwargs": {"min_value": 0, "inclusive": true, "column_name": "price", "model": "{{ get_where_subquery(ref('fct_prices_hourly_base_sepolia')) }}"}, "namespace": "dbt_utils"}}}, "sources": {"source.synthetix.raw_eth_mainnet.block": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.block", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "block"], "source_name": "raw_eth_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_eth_mainnet\".\"block\"", "created_at": 1723584323.531187}, "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_account_created", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_account_created"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_account_created\"", "created_at": 1723584323.5326507}, "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_delegation_updated", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_delegation_updated"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_delegation_updated\"", "created_at": 1723584323.5328345}, "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_deposited", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_deposited"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_deposited\"", "created_at": 1723584323.5330048}, "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_withdrawn", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_withdrawn"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_withdrawn\"", "created_at": 1723584323.5331662}, "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_liquidation", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_liquidation"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_liquidation\"", "created_at": 1723584323.5333228}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_market_registered", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_registered"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_market_registered\"", "created_at": 1723584323.5334787}, "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_pool_created", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_pool_created"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_pool_created\"", "created_at": 1723584323.5336335}, "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_rewards_claimed", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_rewards_claimed"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_rewards_claimed\"", "created_at": 1723584323.5337887}, "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_rewards_distributed", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_rewards_distributed"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_rewards_distributed\"", "created_at": 1723584323.5339496}, "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_usd_burned", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_usd_burned"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_usd_burned\"", "created_at": 1723584323.534107}, "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_usd_minted", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_usd_minted"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_usd_minted\"", "created_at": 1723584323.5342615}, "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_vault_liquidation", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_vault_liquidation"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_vault_liquidation\"", "created_at": 1723584323.534416}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_market_collateral_deposited", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_collateral_deposited"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_market_collateral_deposited\"", "created_at": 1723584323.5345693}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_collateral_withdrawn"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_market_collateral_withdrawn\"", "created_at": 1723584323.5347216}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_market_usd_deposited", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_usd_deposited"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_market_usd_deposited\"", "created_at": 1723584323.5348828}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_proxy_event_market_usd_withdrawn", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_proxy_event_market_usd_withdrawn"], "source_name": "raw_eth_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_eth_mainnet\".\"core_proxy_event_market_usd_withdrawn\"", "created_at": 1723584323.5350459}, "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated": {"database": "analytics", "schema": "raw_eth_mainnet", "name": "legacy_market_proxy_event_account_migrated", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "legacy_market_proxy_event_account_migrated"], "source_name": "raw_eth_mainnet", "source_description": "", "loader": "", "identifier": "legacy_market_proxy_event_account_migrated", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_eth_mainnet\".\"legacy_market_proxy_event_account_migrated\"", "created_at": 1723584323.5352361}, "source.synthetix.raw_eth_mainnet.core_get_vault_collateral": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_get_vault_collateral", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_get_vault_collateral"], "source_name": "raw_eth_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_eth_mainnet\".\"core_get_vault_collateral\"", "created_at": 1723584323.5353951}, "source.synthetix.raw_eth_mainnet.core_get_vault_debt": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.core_get_vault_debt", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "core_get_vault_debt"], "source_name": "raw_eth_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_eth_mainnet\".\"core_get_vault_debt\"", "created_at": 1723584323.5355864}, "source.synthetix.raw_eth_mainnet.blocks_parquet": {"database": "analytics", "schema": "raw_eth_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_eth_mainnet.blocks_parquet", "fqn": ["synthetix", "raw", "raw_eth_mainnet", "blocks_parquet"], "source_name": "raw_eth_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_eth_mainnet\".\"blocks_parquet\"", "created_at": 1723584323.535755}, "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": 1723584323.5359173}, "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": 1723584323.5360897}, "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": 1723584323.536246}, "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": 1723584323.5363984}, "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": 1723584323.5365493}, "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": 1723584323.5367007}, "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": 1723584323.5368514}, "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": 1723584323.5370023}, "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": 1723584323.5371592}, "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": 1723584323.5373101}, "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": 1723584323.5374618}, "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": 1723584323.5376139}, "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": 1723584323.5378625}, "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": 1723584323.5380247}, "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": 1723584323.5381796}, "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": 1723584323.5383322}, "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": 1723584323.5384917}, "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": 1723584323.5386465}, "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": 1723584323.5388002}, "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": 1723584323.5389547}, "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": 1723584323.5391235}, "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": 1723584323.539288}, "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": 1723584323.539444}, "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": 1723584323.539598}, "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": 1723584323.5397494}, "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": 1723584323.5399}, "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": 1723584323.5400524}, "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": 1723584323.5402045}, "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": 1723584323.5403538}, "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": 1723584323.5405042}, "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": 1723584323.5406563}, "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": 1723584323.540811}, "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": 1723584323.5409622}, "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": 1723584323.541113}, "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": 1723584323.5412624}, "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": 1723584323.5414116}, "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": 1723584323.5415604}, "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": 1723584323.541708}, "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": 1723584323.541857}, "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": 1723584323.54201}, "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": 1723584323.5421617}, "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": 1723584323.5423129}, "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": 1723584323.5424635}, "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": 1723584323.5426137}, "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": 1723584323.542767}, "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": 1723584323.5429192}, "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": 1723584323.5430703}, "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": 1723584323.543252}, "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": 1723584323.543403}, "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": 1723584323.543555}, "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": 1723584323.5437133}, "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": 1723584323.5438645}, "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": 1723584323.5440161}, "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": 1723584323.5441968}, "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": 1723584323.54435}, "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": 1723584323.5444994}, "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": 1723584323.544648}, "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": 1723584323.5447974}, "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": 1723584323.5449467}, "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": 1723584323.545097}, "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": 1723584323.5452473}, "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": 1723584323.5453982}, "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": 1723584323.5455573}, "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": 1723584323.5457065}, "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": 1723584323.5458562}, "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": 1723584323.546009}, "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": 1723584323.546159}, "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": 1723584323.5463102}, "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": 1723584323.5464654}, "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": 1723584323.5466173}, "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": 1723584323.5467691}, "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": 1723584323.5469193}, "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": 1723584323.54707}, "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": 1723584323.547244}, "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": 1723584323.5473993}, "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": 1723584323.547551}, "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": 1723584323.5477018}, "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": 1723584323.5478516}, "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": 1723584323.5480027}, "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": 1723584323.5481532}, "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": 1723584323.5483057}, "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": 1723584323.5484567}, "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": 1723584323.5486062}, "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": 1723584323.5487561}, "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": 1723584323.5489047}, "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": 1723584323.549053}, "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": 1723584323.549201}, "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": 1723584323.5493562}, "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": 1723584323.5495057}, "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": 1723584323.5496547}, "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": 1723584323.5498035}, "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": 1723584323.5499516}, "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": 1723584323.5501003}, "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": 1723584323.55025}, "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": 1723584323.550425}, "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": 1723584323.5505807}, "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": 1723584323.55075}, "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": 1723584323.550898}, "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": 1723584323.5510483}, "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": 1723584323.5512228}, "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": 1723584323.551379}, "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": 1723584323.5515316}, "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": 1723584323.551682}, "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": 1723584323.551832}, "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": 1723584323.5519814}, "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": 1723584323.5521328}, "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": 1723584323.552282}, "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": 1723584323.5524318}, "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": 1723584323.5525808}, "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": 1723584323.5527306}, "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": 1723584323.5528798}, "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": 1723584323.5530274}, "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": 1723584323.5531743}, "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": 1723584323.553323}, "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": 1723584323.5534685}, "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": 1723584323.5536153}, "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": 1723584323.553763}, "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": 1723584323.5539098}, "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": 1723584323.5540566}, "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": 1723584323.5542047}, "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": 1723584323.554353}, "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": 1723584323.5545}, "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": 1723584323.554647}, "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": 1723584323.554799}, "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": 1723584323.5549483}, "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": 1723584323.5551229}, "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": 1723584323.555382}, "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": 1723584323.5555925}, "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": 1723584323.555749}, "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": 1723584323.5559013}, "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": 1723584323.5560522}, "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": 1723584323.5562654}, "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": 1723584323.556473}, "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": 1723584323.5566366}, "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": 1723584323.5567873}, "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": 1723584323.556959}, "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": 1723584323.5571067}, "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": 1723584323.5572538}, "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": 1723584323.5574017}, "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": 1723584323.5575495}, "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": 1723584323.557697}, "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": 1723584323.5578454}, "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": 1723584323.5579967}, "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": 1723584323.5581453}, "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": 1723584323.5582933}, "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": 1723584323.5584443}, "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": 1723584323.5585918}, "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": 1723584323.5587385}, "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": 1723584323.5588853}, "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": 1723584323.559032}, "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": 1723584323.5592396}, "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": 1723584323.559397}, "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": 1723584323.5595477}, "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": 1723584323.559697}, "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": 1723584323.5598445}, "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": 1723584323.559992}, "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": 1723584323.560138}, "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": 1723584323.5602968}, "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": 1723584323.560446}, "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": 1723584323.560595}, "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": 1723584323.5607448}, "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": 1723584323.5608919}, "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": 1723584323.5610394}, "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": 1723584323.561188}, "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": 1723584323.5613365}, "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": 1723584323.5614836}, "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": 1723584323.5616298}, "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": 1723584323.561776}, "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": 1723584323.5619228}, "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": 1723584323.5620704}, "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": 1723584323.5622177}, "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": 1723584323.562367}, "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": 1723584323.5625186}, "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": 1723584323.5626698}, "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": 1723584323.5628176}, "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": 1723584323.562965}, "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": 1723584323.563468}, "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": 1723584323.5636375}, "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": 1723584323.5637946}, "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": 1723584323.5639489}, "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": 1723584323.5641005}, "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": 1723584323.5642529}, "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": 1723584323.5644045}, "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": 1723584323.5645573}, "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": 1723584323.5647082}, "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": 1723584323.5648575}, "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": 1723584323.5650096}, "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": 1723584323.5651615}, "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": 1723584323.5653126}, "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": 1723584323.5654655}, "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": 1723584323.5656168}, "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": 1723584323.5657668}, "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": 1723584323.5659177}, "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": 1723584323.566067}, "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": 1723584323.5662344}, "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": 1723584323.5663998}, "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": 1723584323.566571}, "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": 1723584323.5667188}, "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": 1723584323.5668664}, "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": 1723584323.5670137}, "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": 1723584323.5672238}, "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": 1723584323.5673869}, "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": 1723584323.5675395}, "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": 1723584323.5676897}, "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": 1723584323.567839}, "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": 1723584323.567987}, "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": 1723584323.5681345}, "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": 1723584323.568282}, "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": 1723584323.5684292}, "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": 1723584323.568576}, "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": 1723584323.568724}, "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": 1723584323.568871}, "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": 1723584323.5690174}, "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": 1723584323.5691638}, "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": 1723584323.569318}, "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": 1723584323.5694685}, "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": 1723584323.5696146}, "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": 1723584323.5697622}, "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": 1723584323.5699093}, "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": 1723584323.570057}, "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": 1723584323.5702343}, "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": 1723584323.5703835}, "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": 1723584323.5705311}, "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": 1723584323.5706778}, "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": 1723584323.5708249}, "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": 1723584323.570973}, "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": 1723584323.5711396}, "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": 1723584323.5713027}, "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": 1723584323.5714517}, "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": 1723584323.5715983}, "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": 1723584323.571745}, "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": 1723584323.5718918}, "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": 1723584323.572039}, "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": 1723584323.5721865}, "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": 1723584323.572334}, "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": 1723584323.5724835}, "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": 1723584323.5726323}, "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": 1723584323.572779}, "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": 1723584323.5729265}, "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": 1723584323.573074}, "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": 1723584323.5732226}, "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": 1723584323.5733728}, "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": 1723584323.573523}, "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": 1723584323.5736706}, "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": 1723584323.5738187}, "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": 1723584323.5739675}, "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": 1723584323.5741167}, "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": 1723584323.5742657}, "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": 1723584323.574413}, "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": 1723584323.5745592}, "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": 1723584323.574707}, "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": 1723584323.5748541}, "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": 1723584323.5750017}, "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": 1723584323.57517}, "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": 1723584323.5753212}, "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": 1723584323.575469}, "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": 1723584323.5756164}, "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": 1723584323.5757635}, "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": 1723584323.5759106}, "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": 1723584323.57606}, "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": 1723584323.5762072}, "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": 1723584323.5763736}, "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": 1723584323.5765219}, "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": 1723584323.5766692}, "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": 1723584323.5768168}, "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": 1723584323.5769634}, "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": 1723584323.577109}, "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": 1723584323.5772576}, "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": 1723584323.5774064}, "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": 1723584323.5775545}, "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": 1723584323.5777018}, "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": 1723584323.5778491}, "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": 1723584323.5779958}, "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": 1723584323.5781438}, "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": 1723584323.5782905}, "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": 1723584323.5784366}, "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": 1723584323.5785828}, "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": 1723584323.5787292}, "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": 1723584323.578877}, "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": 1723584323.5790262}, "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": 1723584323.579194}, "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": 1723584323.5793507}, "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": 1723584323.5795019}, "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": 1723584323.5796506}, "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": 1723584323.5797997}, "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": 1723584323.5799475}, "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": 1723584323.580095}, "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": 1723584323.5802422}, "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": 1723584323.5803905}, "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": 1723584323.5805426}, "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": 1723584323.5806918}, "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": 1723584323.5808394}, "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": 1723584323.5809875}, "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": 1723584323.5811348}, "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": 1723584323.581283}, "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": 1723584323.5814304}, "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": 1723584323.581579}, "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": 1723584323.5817273}, "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": 1723584323.581889}, "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": 1723584323.5820355}, "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": 1723584323.582184}, "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": 1723584323.5823414}, "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": 1723584323.5825145}, "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": 1723584323.5826652}, "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": 1723584323.5828164}, "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": 1723584323.5829659}, "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": 1723584323.5831316}, "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": 1723584323.5832872}, "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": 1723584323.5834363}, "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": 1723584323.5836244}, "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": 1723584323.5838075}, "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": 1723584323.583962}, "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": 1723584323.5841126}, "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": 1723584323.584262}, "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": 1723584323.584419}, "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": 1723584323.5845804}, "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": 1723584323.5847313}, "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": 1723584323.5848796}, "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": 1723584323.5850282}, "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": 1723584323.585178}, "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": 1723584323.5853324}, "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": 1723584323.5854867}, "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": 1723584323.5856369}, "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": 1723584323.5857863}, "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": 1723584323.5859342}, "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": 1723584323.586089}, "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": 1723584323.5862472}, "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": 1723584323.5863976}, "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": 1723584323.5865462}, "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": 1723584323.5866957}, "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": 1723584323.5868444}, "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": 1723584323.5870001}, "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": 1723584323.5871909}, "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": 1723584323.5873492}, "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": 1723584323.5875049}, "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": 1723584323.587653}, "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": 1723584323.5878077}, "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": 1723584323.5879571}, "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": 1723584323.5881147}, "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": 1723584323.5882661}, "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": 1723584323.5884142}, "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": 1723584323.5885618}, "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": 1723584323.588715}, "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": 1723584323.5888834}, "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": 1723584323.5890324}, "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": 1723584323.5891802}, "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": 1723584323.589335}, "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": 1723584323.589487}, "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": 1723584323.589637}, "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": 1723584323.5897846}, "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": 1723584323.5899382}, "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": 1723584323.5900867}, "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": 1723584323.59024}, "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": 1723584323.5903895}, "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": 1723584323.5905378}, "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": 1723584323.590684}, "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": 1723584323.5908308}, "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": 1723584323.5909786}, "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": 1723584323.591156}, "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": 1723584323.5913112}, "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": 1723584323.5914607}, "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": 1723584323.5916092}, "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": 1723584323.5917633}, "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": 1723584323.5919213}, "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": 1723584323.5920722}, "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": 1723584323.5922203}, "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": 1723584323.5923676}, "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": 1723584323.5925152}, "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": 1723584323.5926673}, "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": 1723584323.5928152}, "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": 1723584323.5929627}, "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": 1723584323.593111}, "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": 1723584323.593259}, "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": 1723584323.593406}, "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": 1723584323.5935647}, "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": 1723584323.5937157}, "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": 1723584323.593864}, "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": 1723584323.5940106}, "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": 1723584323.5941567}, "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": 1723584323.5943089}, "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": 1723584323.5944576}, "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": 1723584323.5946047}, "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": 1723584323.5947506}, "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": 1723584323.5948966}, "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": 1723584323.5950696}, "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": 1723584323.5952392}, "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": 1723584323.5953922}, "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": 1723584323.5955486}, "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": 1723584323.5957005}, "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": 1723584323.5958538}, "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": 1723584323.596005}, "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": 1723584323.5961518}, "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": 1723584323.5963058}, "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": 1723584323.596454}, "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": 1723584323.5966005}, "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": 1723584323.596753}, "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": 1723584323.5969024}, "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": 1723584323.5970504}, "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": 1723584323.5972016}, "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": 1723584323.5973582}, "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": 1723584323.5975246}, "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": 1723584323.5976875}, "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": 1723584323.5978346}, "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": 1723584323.597981}, "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": 1723584323.598127}, "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": 1723584323.5982783}, "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": 1723584323.5984275}, "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": 1723584323.5985765}, "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": 1723584323.5987277}, "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": 1723584323.5988765}, "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": 1723584323.5990233}, "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": 1723584323.5992026}, "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": 1723584323.59936}, "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": 1723584323.5995097}, "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": 1723584323.599659}, "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": 1723584323.5998065}, "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": 1723584323.5999599}, "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": 1723584323.6001081}, "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": 1723584323.6002553}, "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": 1723584323.600402}, "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": 1723584323.6005497}, "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": 1723584323.600702}, "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": 1723584323.6008549}, "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": 1723584323.6010072}, "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": 1723584323.6011548}, "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": 1723584323.6013262}, "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": 1723584323.6014752}, "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": 1723584323.6016293}, "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": 1723584323.6017773}, "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": 1723584323.6019244}, "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": 1723584323.6020718}, "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": 1723584323.6022196}, "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": 1723584323.602371}, "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": 1723584323.60252}, "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": 1723584323.6026714}, "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": 1723584323.6028266}, "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": 1723584323.6029768}, "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": 1723584323.6031475}, "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": 1723584323.603304}, "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": 1723584323.6034534}, "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": 1723584323.6036015}, "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": 1723584323.6037488}, "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": 1723584323.6038957}, "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": 1723584323.60405}, "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": 1723584323.6041985}, "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": 1723584323.604346}, "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": 1723584323.604497}, "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": 1723584323.6046524}, "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": 1723584323.6048067}, "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": 1723584323.6049552}, "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": 1723584323.6051023}, "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": 1723584323.6052492}, "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": 1723584323.605398}, "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": 1723584323.6055512}, "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": 1723584323.6057}, "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": 1723584323.6058483}, "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": 1723584323.605995}, "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": 1723584323.606142}, "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": 1723584323.6062899}, "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": 1723584323.6064525}, "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": 1723584323.6066077}, "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": 1723584323.6067564}, "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": 1723584323.606904}, "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": 1723584323.6070604}, "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": 1723584323.607233}, "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": 1723584323.6073837}, "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": 1723584323.6075518}, "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": 1723584323.6076994}, "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": 1723584323.6078467}, "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": 1723584323.6079993}, "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": 1723584323.60815}, "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": 1723584323.6083026}, "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": 1723584323.6084518}, "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": 1723584323.6085997}, "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": 1723584323.608751}, "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": 1723584323.6089034}, "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": 1723584323.609053}, "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": 1723584323.6092024}, "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": 1723584323.6093564}, "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": 1723584323.6095068}, "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": 1723584323.609662}, "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": 1723584323.6098123}, "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": 1723584323.609966}, "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": 1723584323.6101182}, "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": 1723584323.6102736}, "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": 1723584323.6104276}, "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": 1723584323.610577}, "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": 1723584323.6107235}, "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": 1723584323.6108706}, "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": 1723584323.6110177}, "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": 1723584323.611214}, "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": 1723584323.611369}, "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": 1723584323.6115184}, "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": 1723584323.6116657}, "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": 1723584323.6118155}, "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": 1723584323.6119683}, "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": 1723584323.6121233}, "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": 1723584323.6122706}, "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": 1723584323.6124163}, "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": 1723584323.6125617}, "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": 1723584323.612708}, "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": 1723584323.6128614}, "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": 1723584323.6130092}, "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": 1723584323.613159}, "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": 1723584323.6133163}, "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": 1723584323.613462}, "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": 1723584323.6136143}, "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": 1723584323.6137846}, "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": 1723584323.6139364}, "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": 1723584323.6140828}, "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": 1723584323.614229}, "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": 1723584323.6143749}, "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": 1723584323.614526}, "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": 1723584323.6146724}, "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": 1723584323.614819}, "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": 1723584323.6149666}, "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": 1723584323.615131}, "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": 1723584323.615299}, "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": 1723584323.6154492}, "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": 1723584323.6155977}, "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": 1723584323.61575}, "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": 1723584323.615896}, "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": 1723584323.6160507}, "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": 1723584323.616198}, "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": 1723584323.6163447}, "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": 1723584323.61649}, "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": 1723584323.6166348}, "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": 1723584323.6167834}, "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": 1723584323.6169322}, "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": 1723584323.617078}, "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": 1723584323.6172266}, "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": 1723584323.617374}, "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": 1723584323.6175303}, "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": 1723584323.6176832}, "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": 1723584323.6178296}, "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": 1723584323.6179736}, "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": 1723584323.6181197}, "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": 1723584323.6182637}, "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": 1723584323.6184163}, "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": 1723584323.6185617}, "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": 1723584323.6187072}, "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": 1723584323.618852}, "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": 1723584323.619}, "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": 1723584323.619171}, "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": 1723584323.6193316}, "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": 1723584323.619478}, "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": 1723584323.6196232}, "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": 1723584323.6197681}, "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": 1723584323.6199315}, "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": 1723584323.6200817}, "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": 1723584323.620229}, "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": 1723584323.6203752}, "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": 1723584323.6205227}, "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": 1723584323.6206684}, "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": 1723584323.620822}, "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": 1723584323.6209748}, "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": 1723584323.6211271}, "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": 1723584323.6212752}, "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": 1723584323.6214218}, "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": 1723584323.6215732}, "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": 1723584323.6217208}, "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": 1723584323.6218672}, "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": 1723584323.622012}, "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": 1723584323.622157}, "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": 1723584323.6223016}, "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": 1723584323.622454}, "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": 1723584323.6226034}, "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": 1723584323.62275}, "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": 1723584323.6229002}, "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": 1723584323.623047}, "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}